C# Class Brunet.Symphony.AHSender

Inheritance: ISender
Mostra file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Destination Address
Header AHHeader
Hops short
HopsTaken short
Node StructuredNode
Options ushort
ReceivedFrom ISender
Source Address
Ttl short

Public Methods

Method Description
AHSender ( Node n, Address destination ) : System
AHSender ( Node n, Address destination, short ttl, ushort options ) : System
AHSender ( Node n, Address destination, ushort options ) : System
AHSender ( Node n, ISender from, Address destination, short ttl, ushort options ) : System
AHSender ( Node n, ISender from, Address destination, short ttl, ushort options, short hops_taken ) : System
DefaultTTLFor ( int netsize ) : short
Equals ( object o ) : bool
GetHashCode ( ) : int
Send ( ICopyable data ) : void
ToString ( ) : string
ToUri ( ) : string

Protected Methods

Method Description
CreateInstance ( object node_ctx, string uri ) : AHSender

Private Methods

Method Description
AHSender ( ) : System

Method Details

AHSender() public method

public AHSender ( Node n, Address destination ) : System
n Node
destination Address
return System

AHSender() public method

public AHSender ( Node n, Address destination, short ttl, ushort options ) : System
n Node
destination Address
ttl short
options ushort
return System

AHSender() public method

public AHSender ( Node n, Address destination, ushort options ) : System
n Node
destination Address
options ushort
return System

AHSender() public method

public AHSender ( Node n, ISender from, Address destination, short ttl, ushort options ) : System
n Node
from ISender
destination Address
ttl short
options ushort
return System

AHSender() public method

public AHSender ( Node n, ISender from, Address destination, short ttl, ushort options, short hops_taken ) : System
n Node
from ISender
destination Address
ttl short
options ushort
hops_taken short
return System

CreateInstance() protected static method

protected static CreateInstance ( object node_ctx, string uri ) : AHSender
node_ctx object
uri string
return AHSender

DefaultTTLFor() static public method

static public DefaultTTLFor ( int netsize ) : short
netsize int
return short

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Send() public method

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

ToString() public method

public ToString ( ) : string
return string

ToUri() public method

public ToUri ( ) : string
return string

Property Details

Destination public_oe property

public Address Destination
return Address

Header public_oe property

public AHHeader,Brunet.Symphony Header
return AHHeader

Hops public_oe property

public short Hops
return short

HopsTaken public_oe property

public short HopsTaken
return short

Node public_oe property

public StructuredNode,Brunet.Symphony Node
return StructuredNode

Options public_oe property

public ushort Options
return ushort

ReceivedFrom public_oe property

public ISender ReceivedFrom
return ISender

Source public_oe property

public Address Source
return Address

Ttl public_oe property

public short Ttl
return short