C# Class FileFind.Meshwork.Transport.OverlayTransport

Inheritance: AbstractTransport
Afficher le fichier Open project: codebutler/meshwork

Méthodes publiques

Méthode 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

Méthode Description
ConnectionAccepted ( ) : void

Method Details

BeginReceive() public méthode

public BeginReceive ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
buffer byte
offset int
size int
callback ReceiveDataCallback
Résultat void

BeginReceiveEncrypted() public méthode

public BeginReceiveEncrypted ( byte buffer, int offset, int size, ReceiveDataCallback callback ) : void
buffer byte
offset int
size int
callback ReceiveDataCallback
Résultat void

BeginSend() public méthode

public BeginSend ( byte buffer, int offset, int size, TransportCallback callback ) : void
buffer byte
offset int
size int
callback TransportCallback
Résultat void

BeginSendEncrypted() public méthode

public BeginSendEncrypted ( byte buffer, int offset, int size, TransportCallback callback ) : void
buffer byte
offset int
size int
callback TransportCallback
Résultat void

Connect() public méthode

public Connect ( TransportCallback callback ) : void
callback TransportCallback
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( Exception ex ) : void
ex System.Exception
Résultat void

OverlayTransport() public méthode

public OverlayTransport ( Node node ) : System
node Node
Résultat System

OverlayTransport() public méthode

public OverlayTransport ( Node node, string connectionId ) : System
node Node
connectionId string
Résultat System

Receive() public méthode

public Receive ( byte buffer ) : void
buffer byte
Résultat void

Receive() public méthode

public Receive ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void

ReceiveEncrypted() public méthode

public ReceiveEncrypted ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void

Send() public méthode

public Send ( byte buffer ) : void
buffer byte
Résultat void

Send() public méthode

public Send ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void

SendEncrypted() public méthode

public SendEncrypted ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void