C# Class Rhino.Queues.Protocol.Receiver

Inheritance: IDisposable
显示文件 Open project: hibernating-rhinos/rhino-queues Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Receiver ( IPEndPoint endpointToListenTo, IMessageAcceptance>.Func acceptMessages ) : System
Receiver ( IPEndPoint endpointToListenTo, bool enableEndpointPortAutoSelection, IMessageAcceptance>.Func acceptMessages ) : System
Start ( ) : void

Private Methods

Method Description
BeginAcceptTcpClientCallback ( IAsyncResult result ) : void
ProcessRequest ( TcpClient client, AsyncEnumerator ae ) : IEnumerator
SelectAvailablePort ( ) : int
StartAcceptingTcpClient ( ) : void
TryStart ( IPEndPoint endpointToListenTo ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Receiver() public method

public Receiver ( IPEndPoint endpointToListenTo, IMessageAcceptance>.Func acceptMessages ) : System
endpointToListenTo System.Net.IPEndPoint
acceptMessages IMessageAcceptance>.Func
return System

Receiver() public method

public Receiver ( IPEndPoint endpointToListenTo, bool enableEndpointPortAutoSelection, IMessageAcceptance>.Func acceptMessages ) : System
endpointToListenTo System.Net.IPEndPoint
enableEndpointPortAutoSelection bool
acceptMessages IMessageAcceptance>.Func
return System

Start() public method

public Start ( ) : void
return void