Chameleon and Iguana Plugin C# Class Libraries

Connection Members

Connection overview

Public Instance Constructors

Connection Overloaded. Initializes a new instance of the Connection class.

Public Instance Methods

AddServerSocketListener Add the specified ServerSocketListener to receive server socket events from this connection.
DisposeOverloaded. 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) 

Protected Instance Methods

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.
DisposeOverloaded. 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.

See Also

Connection Class | iNTERFACEWARE.Chameleon Namespace