C# Class Brunet.Connections.Connection

Inheritance: Brunet.Messaging.ISender
Mostrar archivo Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Address Address
ConType string
CreationTime System.DateTime
DictKeys string[]
MainType ConnectionType

Protected Properties

Property Type Description
_state Mutable
_string_to_main_type ConnectionType>.Dictionary

Public Methods

Method Description
Abort ( ) : ConnectionState>.Pair
Close ( RpcManager rpc, string reason ) : ConnectionState>.Pair
Connection ( ) : NUnit.Framework
Connection ( Edge e, Address a, string connectiontype, StatusMessage sm, LinkMessage peerlm ) : NUnit.Framework
ConnectionTypeToString ( ConnectionType t ) : string
SetEdge ( Edge e, LinkMessage lm ) : ConnectionState>.Pair
SetState ( ConnectionState cs ) : ConnectionState>.Pair
SetStatus ( StatusMessage sm ) : ConnectionState>.Pair
StringToMainType ( string s ) : ConnectionType
ToDictionary ( ) : IDictionary
ToString ( ) : string
ToUri ( ) : string

Private Methods

Method Description
TestParsing ( ) : void

Method Details

Abort() public method

public Abort ( ) : ConnectionState>.Pair
return ConnectionState>.Pair

Close() public method

public Close ( RpcManager rpc, string reason ) : ConnectionState>.Pair
rpc Brunet.Messaging.RpcManager
reason string
return ConnectionState>.Pair

Connection() public method

public Connection ( ) : NUnit.Framework
return NUnit.Framework

Connection() public method

public Connection ( Edge e, Address a, string connectiontype, StatusMessage sm, LinkMessage peerlm ) : NUnit.Framework
e Edge
a Address
connectiontype string
sm StatusMessage
peerlm LinkMessage
return NUnit.Framework

ConnectionTypeToString() static public method

static public ConnectionTypeToString ( ConnectionType t ) : string
t ConnectionType
return string

SetEdge() public method

public SetEdge ( Edge e, LinkMessage lm ) : ConnectionState>.Pair
e Edge
lm LinkMessage
return ConnectionState>.Pair

SetState() public method

public SetState ( ConnectionState cs ) : ConnectionState>.Pair
cs ConnectionState
return ConnectionState>.Pair

SetStatus() public method

public SetStatus ( StatusMessage sm ) : ConnectionState>.Pair
sm StatusMessage
return ConnectionState>.Pair

StringToMainType() static public method

static public StringToMainType ( string s ) : ConnectionType
s string
return ConnectionType

ToDictionary() public method

public ToDictionary ( ) : IDictionary
return IDictionary

ToString() public method

public ToString ( ) : string
return string

ToUri() public method

public ToUri ( ) : string
return string

Property Details

Address public_oe property

public Address Address
return Address

ConType public_oe property

public string ConType
return string

CreationTime public_oe property

public DateTime,System CreationTime
return System.DateTime

DictKeys public_oe static_oe property

public static string[] DictKeys
return string[]

MainType public_oe property

public ConnectionType MainType
return ConnectionType

_state protected_oe property

protected Mutable _state
return Mutable

_string_to_main_type static_oe protected_oe property

static protected Dictionary _string_to_main_type
return ConnectionType>.Dictionary