C# Class Hie.Core.Endpoints.TcpReceiveEndpoint

Inheritance: EndpointBase
Afficher le fichier Open project: NiclasOlofsson/HIE Class Usage Examples

Méthodes publiques

Свойство Type Description
MessageSent System.Threading.ManualResetEvent

Protected Properties

Свойство Type Description
_hostService IApplicationHost

Méthodes publiques

Méthode Description
Initialize ( IApplicationHost host, IOptions options ) : void
ProcessMessage ( IEndpoint endpoint, byte data ) : void
StartProcessing ( ) : void
StopProcessing ( ) : void
TcpReceiveEndpoint ( ) : System
WaitForMessage ( int milisecondsTimeout = 1000 ) : void

Private Methods

Méthode Description
AcceptCallback ( IAsyncResult ar ) : void
ByteArrayCompare ( byte a1, byte a2 ) : bool
CheckDelimiter ( byte delimiters, MemoryStream stream ) : bool
ProcessIncomingStream ( int bytesRead, StateObject state ) : bool
ReadCallback ( IAsyncResult ar ) : void
SubmitPayloadToPipeline ( byte data ) : void
TcpReceiveEndpoint ( IPEndPoint endpoint = null, TcpReceieveOptions options = null ) : System

Method Details

Initialize() public méthode

public Initialize ( IApplicationHost host, IOptions options ) : void
host IApplicationHost
options IOptions
Résultat void

ProcessMessage() public méthode

public ProcessMessage ( IEndpoint endpoint, byte data ) : void
endpoint IEndpoint
data byte
Résultat void

StartProcessing() public méthode

public StartProcessing ( ) : void
Résultat void

StopProcessing() public méthode

public StopProcessing ( ) : void
Résultat void

TcpReceiveEndpoint() public méthode

public TcpReceiveEndpoint ( ) : System
Résultat System

WaitForMessage() public méthode

public WaitForMessage ( int milisecondsTimeout = 1000 ) : void
milisecondsTimeout int
Résultat void

Property Details

MessageSent public_oe property

public ManualResetEvent,System.Threading MessageSent
Résultat System.Threading.ManualResetEvent

_hostService protected_oe property

protected IApplicationHost _hostService
Résultat IApplicationHost