Name | Description | |
---|---|---|
LogCategory | The log category used for network client operations |
The following tables list the members exposed by NetworkClient.
Name | Description | |
---|---|---|
LogCategory | The log category used for network client operations |
Name | Description | |
---|---|---|
HasCorruptData | Indicates whether a session had errors during rehydration and has lost some packets. | |
IsClosed | Indicates if the writer was explicitly closed. | |
IsConnected | Indicates if the remote viewer is currently connected. | |
IsFailed | Indicates if the writer experienced a network failure | |
PacketsLostCount | Indicates how many packets were lost due to errors in rehydration. |
Name | Description | |
---|---|---|
Close | Stop reading from the network and prepare to exit | |
Dispose | Overloaded. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
GetOptions | Get a copy of the network connection options used by this client | |
Start | Start the network client | |
ToString | Returns a System.String that represents the current System.Object. |
Name | Description | |
---|---|---|
Connect | Implemented to complete the protocol connection | |
OnClose | Called when a valid connection is being administratively closed | |
OnClosed | Raise the closed event | |
OnConnected | Called to raise the connected event when a connection has been established | |
OnDisconnected | Called to raise the disconnected event when a connection has been lost | |
OnFailed | Raise the failed event | |
OnPacketFactoryRegister | Allows derived classes to register all of the packet factories they need when creating a new packet reader. | |
ReadNetworkMessage | Read the next network packet from the pipe. Blocks until a packet is detected or the connection fails. | |
ReadSerializedPacket | Read the next serialized packet from the pipe. Blocks until a packet is detected or the connection fails. | |
RemoteClose | Called to shut down the client due to a command from the server. | |
RetryDelay | Allows a derived class to implement its own retry delay strategy | |
SendMessage | Transmit the provided network message to the server. | |
SendPacket | Transmit the provided serialized packet to the server. | |
TransferData | Implemented to transfer data on an established connection |
Name | Description | |
---|---|---|
Closed | Raised when a connection closes normally | |
Connected | Event raised whenever the client establishes a connection to a server | |
Disconnected | Event raised whenever the client looses contact with the server | |
Failed | Raised when a connection that did open fails |