Click or drag to resize

SinkListener Class

Implements a sink listener.
Inheritance Hierarchy
SystemObject
  FastProxy.ListenersSinkListener

Namespace:  FastProxy.Listeners
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
public class SinkListener : IListener, 
	IDisposable

The SinkListener type exposes the following members.

Constructors
  NameDescription
Public methodSinkListener
Top
Methods
  NameDescription
Public methodClosed
Called when the connection has been closed.
Public methodDataReceived
Called when bytes have been received from either the server or the client.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInstance
A shared instance of SinkListener.
Top
Remarks

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.

See Also