C# 클래스 FileFind.Meshwork.Transport.UdpTransport

상속: AbstractTransport, IEncryptedTransport
파일 보기 프로젝트 열기: codebutler/meshwork

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

BeginReceive() 공개 메소드

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

BeginReceiveEncrypted() 공개 메소드

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

BeginSend() 공개 메소드

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

BeginSendEncrypted() 공개 메소드

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

Connect() 공개 메소드

public Connect ( TransportCallback callback ) : void
callback TransportCallback
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( Exception ex ) : void
ex System.Exception
리턴 void

Receive() 공개 메소드

public Receive ( byte buffer ) : void
buffer byte
리턴 void

Receive() 공개 메소드

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

ReceiveEncrypted() 공개 메소드

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

Send() 공개 메소드

public Send ( byte buffer ) : void
buffer byte
리턴 void

Send() 공개 메소드

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

SendEncrypted() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string