Public Instance Constructors
Client
|
Overloaded. Initialize a new instance of the Client class. |
Public Instance Methods
Dispose | Disposes of the resources (other than memory) used by the Client. |
Equals (inherited from Object) | Select the method name to go to the Microsoft documentation. |
GetHashCode (inherited from Object) | Select the method name to go to the Microsoft documentation. |
GetType (inherited from Object) | Select the method name to go to the Microsoft documentation. |
StartHandshake | Starts communication with the local client. |
StartRelay | Starts relaying data between the remote host and the local client. |
ToString | Returns text information about this Client object. |
Protected Instance Properties
Buffer | Gets the buffer to store all the incoming data from the local client. |
RemoteBuffer | Gets the buffer to store all the incoming data from the remote host. |
Protected Instance Methods
Finalize (inherited from Object) | Select the method name to go to the Microsoft documentation. |
MemberwiseClone (inherited from Object) | Select the method name to go to the Microsoft documentation. |
OnClientReceive | Called when we have received data from the local client. Incoming data will immediately be forwarded to the remote host. |
OnClientSent | Called when we have sent data to the local client. When all the data has been sent, we will start receiving again from the remote host. |
OnRemoteReceive | Called when we have received data from the remote host. Incoming data will immediately be forwarded to the local client. |
OnRemoteSent | Called when we have sent data to the remote host. When all the data has been sent, we will start receiving again from the local client. |
Internal Instance Properties
ClientSocket | Gets or sets the Socket connection between the proxy server and the local client. |
DestinationSocket | Gets or sets the Socket connection between the proxy server and the remote host. |
Private Instance Fields
Destroyer | Holds the address of the method to call when this client is ready to be destroyed. |
m_Buffer | Holds the value of the Buffer property. |
m_ClientSocket | Holds the value of the ClientSocket property. |
m_DestinationSocket | Holds the value of the DestinationSocket property. |
m_RemoteBuffer | Holds the value of the RemoteBuffer property. |
See Also
Client Class | Org.Mentalis.Proxy Namespace