C# Class Brunet.Transport.TcpEdgeListener

Inheritance: EdgeListener, IEdgeSendHandler
Show file Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
ActionQueue LockFreeQueue
_count int
_is_started int
_listen_sock Socket
_local_endpoint System.Net.IPEndPoint
_loop Thread
_tas IEnumerable

Public Methods

Method Description
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
HandleEdgeSend ( Edge from, ICopyable p ) : void
SetSocketOpts ( Socket s ) : void
Start ( ) : void
Stop ( ) : void
TcpEdgeListener ( ) : System
TcpEdgeListener ( int port ) : System
TcpEdgeListener ( int port, IEnumerable ipList ) : System
TcpEdgeListener ( int port, IEnumerable local_config_ips, TAAuthorizer ta_auth ) : System

Protected Methods

Method Description
SelectLoop ( ) : void

Method Details

CreateEdgeTo() public method

public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
return void

HandleEdgeSend() public method

public HandleEdgeSend ( Edge from, ICopyable p ) : void
from Edge
p ICopyable
return void

SelectLoop() protected method

protected SelectLoop ( ) : void
return void

SetSocketOpts() public static method

public static SetSocketOpts ( Socket s ) : void
s Socket
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

TcpEdgeListener() public method

public TcpEdgeListener ( ) : System
return System

TcpEdgeListener() public method

public TcpEdgeListener ( int port ) : System
port int
return System

TcpEdgeListener() public method

public TcpEdgeListener ( int port, IEnumerable ipList ) : System
port int
ipList IEnumerable
return System

TcpEdgeListener() public method

public TcpEdgeListener ( int port, IEnumerable local_config_ips, TAAuthorizer ta_auth ) : System
port int
local_config_ips IEnumerable
ta_auth TAAuthorizer
return System

Property Details

ActionQueue protected property

protected LockFreeQueue ActionQueue
return LockFreeQueue

_count protected property

protected int _count
return int

_is_started protected property

protected int _is_started
return int

_listen_sock protected property

protected Socket _listen_sock
return Socket

_local_endpoint protected property

protected IPEndPoint,System.Net _local_endpoint
return System.Net.IPEndPoint

_loop protected property

protected Thread _loop
return Thread

_tas protected property

protected IEnumerable _tas
return IEnumerable