C# Class Universal.Torrent.Client.ConnectionListeners.UdpListener

Inheritance: Listener
Afficher le fichier Open project: haroldma/Universal.Torrent

Méthodes publiques

Méthode Description
Send ( byte buffer, IPEndPoint endpoint ) : void
Start ( ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
OnMessageReceived ( byte buffer, IPEndPoint endpoint ) : void
UdpListener ( IPEndPoint endpoint ) : System

Private Methods

Méthode Description
ClientOnMessageReceived ( DatagramSocket sender, DatagramSocketMessageReceivedEventArgs args ) : void

Method Details

OnMessageReceived() protected abstract méthode

protected abstract OnMessageReceived ( byte buffer, IPEndPoint endpoint ) : void
buffer byte
endpoint System.Net.IPEndPoint
Résultat void

Send() public méthode

public Send ( byte buffer, IPEndPoint endpoint ) : void
buffer byte
endpoint System.Net.IPEndPoint
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UdpListener() protected méthode

protected UdpListener ( IPEndPoint endpoint ) : System
endpoint System.Net.IPEndPoint
Résultat System