C# Class FileFind.Meshwork.Transport.UdpTransport

Inheritance: AbstractTransport, IEncryptedTransport
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
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
ToString ( ) : string

Private Methods

Méthode Description
BeginReceivePrivate ( byte buffer, int offset, int size, ReceiveDataCallback callback, int totalReceived ) : void
OnDataSent ( IAsyncResult result ) : void
OnReceiveEncryptedData ( IAsyncResult result ) : void
OnReceivedData ( IAsyncResult result ) : void
ReceivePrivate ( byte buffer, int offset, int size, int totalReceived ) : void
UdpTransport ( IPAddress address, int port, ulong connectionType ) : System
UdpTransport ( IPEndPoint remoteEndPoint ) : System

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

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

ToString() public méthode

public ToString ( ) : string
Résultat string