SinkListener Class |
Namespace: FastProxy.Listeners
public class SinkListener : IListener, IDisposable
The SinkListener type exposes the following members.
Name | Description | |
---|---|---|
SinkListener |
Name | Description | |
---|---|---|
Closed |
Called when the connection has been closed.
| |
DataReceived |
Called when bytes have been received from either the server or the
client.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The standard listeners all delegate to an inner listener, and providing one is required. If you do not have a custom listener to provide, you can use Instance to provide a sink listener instead.