C# Class FileFind.Meshwork.Transport.OverlayTransport

Inheritance: AbstractTransport
Show file Open project: codebutler/meshwork

Public Methods

Method Description
BeginReceive ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
BeginReceiveEncrypted ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
BeginSend ( byte buffer, int offset, int size, TransportCallback callback ) : void
BeginSendEncrypted ( byte buffer, int offset, int size, TransportCallback callback ) : void
Connect ( TransportCallback callback ) : void
Disconnect ( ) : void
Disconnect ( Exception ex ) : void
OverlayTransport ( Node node ) : System
OverlayTransport ( Node node, string connectionId ) : System
Receive ( byte buffer ) : void
Receive ( byte buffer, int offset, int size ) : void
ReceiveEncrypted ( byte buffer, int offset, int size ) : void
Send ( byte buffer ) : void
Send ( byte buffer, int offset, int size ) : void
SendEncrypted ( byte buffer, int offset, int size ) : void

Private Methods

Method Description
ConnectionAccepted ( ) : void

Method Details

BeginReceive() public method

public BeginReceive ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
buffer byte
offset int
size int
callback ReceiveDataCallback
return void

BeginReceiveEncrypted() public method

public BeginReceiveEncrypted ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
buffer byte
offset int
size int
callback ReceiveDataCallback
return void

BeginSend() public method

public BeginSend ( byte buffer, int offset, int size, TransportCallback callback ) : void
buffer byte
offset int
size int
callback TransportCallback
return void

BeginSendEncrypted() public method

public BeginSendEncrypted ( byte buffer, int offset, int size, TransportCallback callback ) : void
buffer byte
offset int
size int
callback TransportCallback
return void

Connect() public method

public Connect ( TransportCallback callback ) : void
callback TransportCallback
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Disconnect() public method

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

OverlayTransport() public method

public OverlayTransport ( Node node ) : System
node Node
return System

OverlayTransport() public method

public OverlayTransport ( Node node, string connectionId ) : System
node Node
connectionId string
return System

Receive() public method

public Receive ( byte buffer ) : void
buffer byte
return void

Receive() public method

public Receive ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void

ReceiveEncrypted() public method

public ReceiveEncrypted ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void

Send() public method

public Send ( byte buffer ) : void
buffer byte
return void

Send() public method

public Send ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void

SendEncrypted() public method

public SendEncrypted ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void