GXDN: Gurux Developer Network
GXNet Class
NamespacesGurux.NetGXNet
The GXNet component determines methods that make the communication possible using Internet.
Members
All Members Constructors Methods Properties Events



Icon Member Description
GXNet()()()
Initializes a new instance of the GXNet class

AboutBox()()()
Displays the copyright of the control, user license, and version information, in a dialog box.

AcceptAllClients
Retrieves or sets, if all clients are accepted.

BytesReceived
Received byte count.

BytesSent
Sent byte count.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
ClientCount
Get current client count.

Close()()()
Closes the active connection.

Connect()()()
Opens the connection.

Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
DisconnectClient(Int32, String, Int32)
Disconnect selected client.

Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
Equals(Object)
Determines whether two objects are equal.
(Overrides Object.Equals(Object).)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetActiveClients()()()
Returns list IP addresses and port numbers, of active clients in TCP/IP protocol.

GetAvailableLocaleIdentifiers()()()
Use GetAvailableLocaleIdentifiers method to get supported languages. To use the default language, set value to zero.

GetHashCode()()()
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode()()().)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetReplyData(VariantType)
Retrieves reply data.

GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetSettings()()()
Gets Media settings as a XML string.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HostName
Retrieves or sets the name or IP address of the host.

HostPort
Retrieves or sets the host port number.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsOpen
Cheks if the connection is established.

LocaleIdentifier
The localization identifier, which determines the used language. To use default language, set value to zero.

MaxClientCount
Retrieves or sets maximum count of connected clients.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnAcceptClient
Called when the client is establishing a connection with a Net Server.

OnClientConnected
Called when the client is establishing a connection with a Net Server.

OnClientDisconnected
Called when the client has been disconnected from the network server.

OnError
Errors that occur after the connection is established, are sent through this method.

OnMediaStateChange
Media component sends notification, when its state changes.

OnReceived
GXNet component sends received data through this method.

Properties(IWin32Window)
Shows the network Properties dialog.

Protocol
Retrieves or sets the protocol.

ReplyDataSize
The amount of bytes in the reply buffer, after the SendSync method.

ResetByteCounters()()()
Resets BytesReceived and BytesSent counters.

Send(Object, VariantType, String)
Sends data asynchronously.
No reply from the receiver, whether or not the operation was successful, is expected.

SendSync(Object, VariantType, Object, Object, Int32, Int32, Boolean, VariantType, Object%)
Sends data synchronously.
A reply from the receiver, whether the send operation was successful, or if the data needs to be resent, is expected.

SendSyncComplete
Determines if all sync reply data is received. Data is received to the synchronous buffer until SendSyncComplete is set to True.

Server
Determines if the component is in server, or in client, mode.

ServerPort
Retrieves or sets the port number of the receiver server.

SetSettings(String)
Sets Media settings as a XML string.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
StartServer()()()
Starts the receiver server. Note: If the component is to receive data, it has to be started as server. Protocol and ServerPort must be set, before a server can be started.

ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
WaitMoreReplyData(Object, Int32, Int32, Boolean, VariantType, Object%)
Waits for reply data synchronously.

Inheritance Hierarchy
See Also

Assembly: Gurux.Net (Module: Gurux.Net) Version: 5.0.0.1