C# Class FileFind.Meshwork.LocalNodeConnection

Inheritance: INodeConnection, IMeshworkOperation
Show file Open project: codebutler/meshwork Class Usage Examples

Public Methods

Method Description
Disconnect ( ) : void
Disconnect ( Exception ex ) : void
LocalNodeConnection ( ITransport transport ) : System
RaiseConnectionInfoChanged ( ) : void
SendReady ( ) : void
Start ( ) : void

Private Methods

Method Description
Construct ( ) : void
MessageSent ( IAsyncResult asyncResult ) : void
OnTransportConnected ( ITransport transport ) : void
OnTransportDisconnected ( ITransport transport, Exception ex ) : void
Ping ( ) : void
PingTimerElapsed ( object o, System.Timers.ElapsedEventArgs args ) : void
RaiseConnectionReady ( ) : void
ReceiveMessage ( ) : void
ReceivedMessage ( IAsyncResult result ) : void
ReceivedPong ( ulong timestamp ) : void
SendMessage ( Message message ) : void
TimeOutTimerElapsed ( object o, System.Timers.ElapsedEventArgs args ) : void

Method Details

Disconnect() public method

public Disconnect ( ) : void
return void

Disconnect() public method

public Disconnect ( Exception ex ) : void
ex System.Exception
return void

LocalNodeConnection() public method

public LocalNodeConnection ( ITransport transport ) : System
transport ITransport
return System

RaiseConnectionInfoChanged() public method

public RaiseConnectionInfoChanged ( ) : void
return void

SendReady() public method

public SendReady ( ) : void
return void

Start() public method

public Start ( ) : void
return void