C# Class Brunet.Symphony.SubringEdge

Holds the state information for a Subrings.
Inheritance: Edge, IIdentifierPair
Show file Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_ip Brunet.Messaging.IdentifierPair
_local_ta Brunet.Transport.TransportAddress
_overlay_sender ISender
_ptype Brunet.Util.PType
_remote_ta Brunet.Transport.TransportAddress

Public Methods

Method Description
Send ( ICopyable data ) : void
SubringEdge ( TransportAddress local_ta, TransportAddress remote_ta, bool inbound, ISender sender, PType ptype ) : Brunet.Messaging

Constructor for an outgoing edge, since we don't know the remote id yet, it must be outgoing!

Method Details

Send() public method

public Send ( ICopyable data ) : void
data ICopyable
return void

SubringEdge() public method

Constructor for an outgoing edge, since we don't know the remote id yet, it must be outgoing!
public SubringEdge ( TransportAddress local_ta, TransportAddress remote_ta, bool inbound, ISender sender, PType ptype ) : Brunet.Messaging
local_ta Brunet.Transport.TransportAddress
remote_ta Brunet.Transport.TransportAddress
inbound bool
sender ISender
ptype Brunet.Util.PType
return Brunet.Messaging

Property Details

_ip protected property

protected IdentifierPair,Brunet.Messaging _ip
return Brunet.Messaging.IdentifierPair

_local_ta protected property

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

_overlay_sender protected property

protected ISender _overlay_sender
return ISender

_ptype protected property

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

_remote_ta protected property

protected TransportAddress,Brunet.Transport _remote_ta
return Brunet.Transport.TransportAddress