C# 클래스 CoAP.Channel.UDPChannel

파일 보기 프로젝트 열기: smeshlink/CoAP.NET 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Send ( Byte data, System ep ) : void
Start ( ) : void
Stop ( ) : void
UDPChannel ( ) : System

Initializes a UDP channel with a random port.

UDPChannel ( Int32 port ) : System

Initializes a UDP channel with the given port, both on IPv4 and IPv6.

UDPChannel ( System localEP ) : System

Initializes a UDP channel with the specific endpoint.

비공개 메소드들

메소드 설명
BeginReceive ( ) : void
BeginSend ( ) : void
EndReceive ( UDPSocket socket, Byte buffer, Int32 offset, Int32 count, System ep ) : void
EndReceive ( UDPSocket socket, Exception ex ) : void
EndSend ( UDPSocket socket, Exception ex ) : void
EndSend ( UDPSocket socket, Int32 bytesTransferred ) : void
FireDataReceived ( Byte data, System ep ) : void
SetupUDPSocket ( AddressFamily addressFamily, Int32 bufferSize ) : UDPSocket

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Send() 공개 메소드

public Send ( Byte data, System ep ) : void
data Byte
ep System
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

UDPChannel() 공개 메소드

Initializes a UDP channel with a random port.
public UDPChannel ( ) : System
리턴 System

UDPChannel() 공개 메소드

Initializes a UDP channel with the given port, both on IPv4 and IPv6.
public UDPChannel ( Int32 port ) : System
port System.Int32
리턴 System

UDPChannel() 공개 메소드

Initializes a UDP channel with the specific endpoint.
public UDPChannel ( System localEP ) : System
localEP System
리턴 System