C# Class OctoTorrent.UdpListener

Inheritance: Listener
Mostra file Open project: Eskat0n/OctoTorrent

Public Methods

Method Description
Send ( byte buffer, IPEndPoint endpoint ) : void
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
OnMessageReceived ( byte buffer, IPEndPoint endpoint ) : void
UdpListener ( IPEndPoint endpoint ) : Common.System

Private Methods

Method Description
EndReceive ( IAsyncResult result ) : void

Method Details

OnMessageReceived() protected abstract method

protected abstract OnMessageReceived ( byte buffer, IPEndPoint endpoint ) : void
buffer byte
endpoint System.Net.IPEndPoint
return void

Send() public method

public Send ( byte buffer, IPEndPoint endpoint ) : void
buffer byte
endpoint System.Net.IPEndPoint
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UdpListener() protected method

protected UdpListener ( IPEndPoint endpoint ) : Common.System
endpoint System.Net.IPEndPoint
return Common.System