C# Class OpenMetaverse.UDPBase

Afficher le fichier Open project: 3di/3di-viewer-rei-libs

Protected Properties

Свойство Type Description
remoteEndPoint System.Net.IPEndPoint

Méthodes publiques

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

Méthodes protégées

Méthode Description
PacketReceived ( UDPPacketBuffer buffer ) : void
PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void

Private Methods

Méthode Description
AsyncBeginReceive ( ) : void
AsyncEndReceive ( IAsyncResult iar ) : void
AsyncEndSend ( IAsyncResult iar ) : void

Method Details

AsyncBeginSend() public méthode

public AsyncBeginSend ( UDPPacketBuffer buf ) : void
buf UDPPacketBuffer
Résultat void

PacketReceived() protected abstract méthode

protected abstract PacketReceived ( UDPPacketBuffer buffer ) : void
buffer UDPPacketBuffer
Résultat void

PacketSent() protected abstract méthode

protected abstract PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void
buffer UDPPacketBuffer
bytesSent int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UDPBase() public méthode

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

UDPBase() public méthode

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

Property Details

remoteEndPoint protected_oe property

protected IPEndPoint,System.Net remoteEndPoint
Résultat System.Net.IPEndPoint