Connection | Overloaded. Initializes a new instance of the Connection class. |
AddServerSocketListener | Add the specified ServerSocketListener to receive server socket events from this connection. |
Dispose | Overloaded. Dispose of the Connection object. |
Equals (inherited from Object) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
Run | Listen on the client socket port for incoming messages. |
SendMessage | Wrap a message and write the message to the socket output stream. |
ToString (inherited from Object) |
ClientConnectEvent | Invoke the OnClientConnect event in the ServerSocketListener class. |
ClientDisconnectEvent | Invoke the OnClientDisconnect event in the ServerSocketListener class. |
CloseSocket | Close the socket and invoke ClientDisconnectEvent. |
Dispose | Overloaded. Helper method. Intended to be overridden by the child. |
ErrorEvent | Convert the Exception to a string and append a description to the error message. |
Finalize | Destructor. Calls Dispose passing false as a parameter.. |
MemberwiseClone (inherited from Object) | |
Println | Print description to the log interface passed in the constructor. |