C# 클래스 OpenMetaverse.UDPBase

파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs

보호된 프로퍼티들

프로퍼티 타입 설명
remoteEndPoint System.Net.IPEndPoint

공개 메소드들

메소드 설명
AsyncBeginSend ( UDPPacketBuffer buf ) : void
Start ( ) : void

Stop ( ) : void

UDPBase ( IPEndPoint endPoint ) : System

Initialize the UDP packet handler in client mode

UDPBase ( int port ) : System

Initialize the UDP packet handler in server mode

보호된 메소드들

메소드 설명
PacketReceived ( UDPPacketBuffer buffer ) : void
PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void

비공개 메소드들

메소드 설명
AsyncBeginReceive ( ) : void
AsyncEndReceive ( IAsyncResult iar ) : void
AsyncEndSend ( IAsyncResult iar ) : void

메소드 상세

AsyncBeginSend() 공개 메소드

public AsyncBeginSend ( UDPPacketBuffer buf ) : void
buf UDPPacketBuffer
리턴 void

PacketReceived() 보호된 추상적인 메소드

protected abstract PacketReceived ( UDPPacketBuffer buffer ) : void
buffer UDPPacketBuffer
리턴 void

PacketSent() 보호된 추상적인 메소드

protected abstract PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void
buffer UDPPacketBuffer
bytesSent int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

UDPBase() 공개 메소드

Initialize the UDP packet handler in client mode
public UDPBase ( IPEndPoint endPoint ) : System
endPoint System.Net.IPEndPoint Remote UDP server to connect to
리턴 System

UDPBase() 공개 메소드

Initialize the UDP packet handler in server mode
public UDPBase ( int port ) : System
port int Port to listening for incoming UDP packets on
리턴 System

프로퍼티 상세

remoteEndPoint 보호되어 있는 프로퍼티

protected IPEndPoint,System.Net remoteEndPoint
리턴 System.Net.IPEndPoint