C# Class Brunet.Connections.Connection

Inheritance: Brunet.Messaging.ISender
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Свойство Type Description
Address Address
ConType string
CreationTime System.DateTime
DictKeys string[]
MainType ConnectionType

Protected Properties

Свойство Type Description
_state Mutable
_string_to_main_type ConnectionType>.Dictionary

Méthodes publiques

Méthode 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

Méthode Description
TestParsing ( ) : void

Method Details

Abort() public méthode

public Abort ( ) : ConnectionState>.Pair
Résultat ConnectionState>.Pair

Close() public méthode

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

Connection() public méthode

public Connection ( ) : NUnit.Framework
Résultat NUnit.Framework

Connection() public méthode

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

ConnectionTypeToString() static public méthode

static public ConnectionTypeToString ( ConnectionType t ) : string
t ConnectionType
Résultat string

SetEdge() public méthode

public SetEdge ( Edge e, LinkMessage lm ) : ConnectionState>.Pair
e Edge
lm LinkMessage
Résultat ConnectionState>.Pair

SetState() public méthode

public SetState ( ConnectionState cs ) : ConnectionState>.Pair
cs ConnectionState
Résultat ConnectionState>.Pair

SetStatus() public méthode

public SetStatus ( StatusMessage sm ) : ConnectionState>.Pair
sm StatusMessage
Résultat ConnectionState>.Pair

StringToMainType() static public méthode

static public StringToMainType ( string s ) : ConnectionType
s string
Résultat ConnectionType

ToDictionary() public méthode

public ToDictionary ( ) : IDictionary
Résultat IDictionary

ToString() public méthode

public ToString ( ) : string
Résultat string

ToUri() public méthode

public ToUri ( ) : string
Résultat string

Property Details

Address public_oe property

public Address Address
Résultat Address

ConType public_oe property

public string ConType
Résultat string

CreationTime public_oe property

public DateTime,System CreationTime
Résultat System.DateTime

DictKeys public_oe static_oe property

public static string[] DictKeys
Résultat string[]

MainType public_oe property

public ConnectionType MainType
Résultat ConnectionType

_state protected_oe property

protected Mutable _state
Résultat Mutable

_string_to_main_type static_oe protected_oe property

static protected Dictionary _string_to_main_type
Résultat ConnectionType>.Dictionary