C# Class Brunet.Symphony.SubringEdgeListener

Create edges using another overlay as the transport
Inheritance: Brunet.Transport.EdgeListener, IDataHandler
Mostrar archivo Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_it IdentifierTable
_local_ta Brunet.Transport.TransportAddress
_local_tas System.Collections.ArrayList
_private_node Node
_ptype Brunet.Util.PType
_running int
_shared_node Node
_started int

Public Methods

Method Description
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
HandleData ( MemBlock data, ISender return_path, object state ) : void

Where data packets prepended with a prepended subring come. Here we receive data as well as create new SubringEdges.

Start ( ) : void
Stop ( ) : void
SubringEdgeListener ( Node shared_node, Node private_node ) : Brunet.Messaging

Create a SubringEdgeListener.

Protected Methods

Method Description
CloseHandler ( object o, EventArgs ea ) : void

Remove closed edges from the IdentifierTable

Method Details

CloseHandler() protected method

Remove closed edges from the IdentifierTable
protected CloseHandler ( object o, EventArgs ea ) : void
o object
ea System.EventArgs
return void

CreateEdgeTo() public method

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

HandleData() public method

Where data packets prepended with a prepended subring come. Here we receive data as well as create new SubringEdges.
public HandleData ( MemBlock data, ISender return_path, object state ) : void
data Brunet.Util.MemBlock
return_path ISender
state object
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

SubringEdgeListener() public method

Create a SubringEdgeListener.
public SubringEdgeListener ( Node shared_node, Node private_node ) : Brunet.Messaging
shared_node Node The overlay used for the transport.
private_node Node The overlay needing edges.
return Brunet.Messaging

Property Details

_it protected_oe property

protected IdentifierTable _it
return IdentifierTable

_local_ta protected_oe property

protected TransportAddress,Brunet.Transport _local_ta
return Brunet.Transport.TransportAddress

_local_tas protected_oe static_oe property

protected static ArrayList,System.Collections _local_tas
return System.Collections.ArrayList

_private_node protected_oe property

protected Node _private_node
return Node

_ptype protected_oe property

protected PType,Brunet.Util _ptype
return Brunet.Util.PType

_running protected_oe property

protected int _running
return int

_shared_node protected_oe property

protected Node _shared_node
return Node

_started protected_oe property

protected int _started
return int