C# Class Brunet.Transport.UdpEdgeListener

Inheritance: EdgeListener, IEdgeSendHandler
Afficher le fichier Open project: pstjuste/brunet

Protected Properties

Свойство Type Description
_bytes long
_id_ht System.Collections.Hashtable
_isstarted int
_listen_finished_event System.Threading.ManualResetEvent
_listen_thread Thread
_monitor_fe FuzzyEvent
_nat_hist NatHistory
_nat_tas IEnumerable
_port int
_rand System.Random
_remote_id_ht System.Collections.Hashtable
_running int
_s Socket
_send_handler IEdgeSendHandler
_send_queue LFBlockingQueue
_send_queue_delta int
_send_queue_max int
_send_thread Thread
_sync object
_tas IEnumerable
ipep System.Net.IPEndPoint

Méthodes publiques

Méthode Description
CloseHandler ( object edge, EventArgs args ) : void
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
HandleEdgeSend ( Edge from, ICopyable p ) : void
Start ( ) : void
Stop ( ) : void
UdpEdgeListener ( ) : System
UdpEdgeListener ( int port ) : System
UdpEdgeListener ( int port, IEnumerable ips ) : System
UdpEdgeListener ( int port, IEnumerable local_config_ips, TAAuthorizer ta_auth ) : System
UpdateLocalTAs ( Edge e, TransportAddress ta ) : void

Méthodes protégées

Méthode Description
GuessLocalEndPoint ( IEnumerable tas ) : IPEndPoint
HandleControlPacket ( int remoteid, int n_localid, MemBlock buffer, EndPoint ep ) : void
HandleDataPacket ( int remoteid, int localid, MemBlock packet, EndPoint end, object state ) : void
ListenThread ( ) : void
MonitorLogOff ( ) : void
MonitorLogSwitch ( ) : void
SendControlPacket ( EndPoint end, int remoteid, int localid, ControlCode c, object state ) : void
SendThread ( ) : void

Method Details

CloseHandler() public méthode

public CloseHandler ( object edge, EventArgs args ) : void
edge object
args System.EventArgs
Résultat void

CreateEdgeTo() public méthode

public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
Résultat void

GuessLocalEndPoint() protected méthode

protected GuessLocalEndPoint ( IEnumerable tas ) : IPEndPoint
tas IEnumerable
Résultat System.Net.IPEndPoint

HandleControlPacket() protected méthode

protected HandleControlPacket ( int remoteid, int n_localid, MemBlock buffer, EndPoint ep ) : void
remoteid int
n_localid int
buffer Brunet.Util.MemBlock
ep System.Net.EndPoint
Résultat void

HandleDataPacket() protected méthode

protected HandleDataPacket ( int remoteid, int localid, MemBlock packet, EndPoint end, object state ) : void
remoteid int
localid int
packet Brunet.Util.MemBlock
end System.Net.EndPoint
state object
Résultat void

HandleEdgeSend() public méthode

public HandleEdgeSend ( Edge from, ICopyable p ) : void
from Edge
p ICopyable
Résultat void

ListenThread() protected méthode

protected ListenThread ( ) : void
Résultat void

MonitorLogOff() protected méthode

protected MonitorLogOff ( ) : void
Résultat void

MonitorLogSwitch() protected méthode

protected MonitorLogSwitch ( ) : void
Résultat void

SendControlPacket() protected méthode

protected SendControlPacket ( EndPoint end, int remoteid, int localid, ControlCode c, object state ) : void
end System.Net.EndPoint
remoteid int
localid int
c ControlCode
state object
Résultat void

SendThread() protected méthode

protected SendThread ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UdpEdgeListener() public méthode

public UdpEdgeListener ( ) : System
Résultat System

UdpEdgeListener() public méthode

public UdpEdgeListener ( int port ) : System
port int
Résultat System

UdpEdgeListener() public méthode

public UdpEdgeListener ( int port, IEnumerable ips ) : System
port int
ips IEnumerable
Résultat System

UdpEdgeListener() public méthode

public UdpEdgeListener ( int port, IEnumerable local_config_ips, TAAuthorizer ta_auth ) : System
port int
local_config_ips IEnumerable
ta_auth TAAuthorizer
Résultat System

UpdateLocalTAs() public méthode

public UpdateLocalTAs ( Edge e, TransportAddress ta ) : void
e Edge
ta TransportAddress
Résultat void

Property Details

_bytes protected_oe property

protected long _bytes
Résultat long

_id_ht protected_oe property

protected Hashtable,System.Collections _id_ht
Résultat System.Collections.Hashtable

_isstarted protected_oe property

protected int _isstarted
Résultat int

_listen_finished_event protected_oe property

protected ManualResetEvent,System.Threading _listen_finished_event
Résultat System.Threading.ManualResetEvent

_listen_thread protected_oe property

protected Thread _listen_thread
Résultat Thread

_monitor_fe protected_oe property

protected FuzzyEvent _monitor_fe
Résultat FuzzyEvent

_nat_hist protected_oe property

protected NatHistory _nat_hist
Résultat NatHistory

_nat_tas protected_oe property

protected IEnumerable _nat_tas
Résultat IEnumerable

_port protected_oe property

protected int _port
Résultat int

_rand protected_oe property

protected Random,System _rand
Résultat System.Random

_remote_id_ht protected_oe property

protected Hashtable,System.Collections _remote_id_ht
Résultat System.Collections.Hashtable

_running protected_oe property

protected int _running
Résultat int

_s protected_oe property

protected Socket _s
Résultat Socket

_send_handler protected_oe property

protected IEdgeSendHandler _send_handler
Résultat IEdgeSendHandler

_send_queue protected_oe property

protected LFBlockingQueue _send_queue
Résultat LFBlockingQueue

_send_queue_delta protected_oe property

protected int _send_queue_delta
Résultat int

_send_queue_max protected_oe property

protected int _send_queue_max
Résultat int

_send_thread protected_oe property

protected Thread _send_thread
Résultat Thread

_sync protected_oe property

protected object _sync
Résultat object

_tas protected_oe property

protected IEnumerable _tas
Résultat IEnumerable

ipep protected_oe property

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