C# Class Brunet.Connections.LinkProtocolState

Inheritance: Brunet.Concurrent.TaskWorker, ILinkLocker
Exibir arquivo Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_con WriteOnce
_contype string
_e Edge
_is_finished int
_linker Linker
_lm_reply WriteOnce
_node Node
_result LinkProtocolState.Result
_ta Brunet.Transport.TransportAddress
_x WriteOnce

Public Methods

Method Description
LinkProtocolState ( Linker l, TransportAddress ta, Edge e ) : System
Start ( ) : void

Protected Methods

Method Description
CloseHandler ( object sender, EventArgs args ) : void
Finish ( System.Result res ) : void
GetResultForErrorCode ( int c ) : System.Result
LinkCloseHandler ( object q, EventArgs args ) : void
MakeLM ( ) : LinkMessage
SetAndCheckLinkReply ( LinkMessage lm ) : void
StatusCloseHandler ( object q, EventArgs args ) : void

Method Details

CloseHandler() protected method

protected CloseHandler ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

Finish() protected method

protected Finish ( System.Result res ) : void
res System.Result
return void

GetResultForErrorCode() protected method

protected GetResultForErrorCode ( int c ) : System.Result
c int
return System.Result

LinkCloseHandler() protected method

protected LinkCloseHandler ( object q, EventArgs args ) : void
q object
args System.EventArgs
return void

LinkProtocolState() public method

public LinkProtocolState ( Linker l, TransportAddress ta, Edge e ) : System
l Linker
ta Brunet.Transport.TransportAddress
e Edge
return System

MakeLM() protected method

protected MakeLM ( ) : LinkMessage
return LinkMessage

SetAndCheckLinkReply() protected method

protected SetAndCheckLinkReply ( LinkMessage lm ) : void
lm LinkMessage
return void

Start() public method

public Start ( ) : void
return void

StatusCloseHandler() protected method

protected StatusCloseHandler ( object q, EventArgs args ) : void
q object
args System.EventArgs
return void

Property Details

_con protected_oe property

protected WriteOnce _con
return WriteOnce

_contype protected_oe property

protected string _contype
return string

_e protected_oe property

protected Edge _e
return Edge

_is_finished protected_oe property

protected int _is_finished
return int

_linker protected_oe property

protected Linker,Brunet.Connections _linker
return Linker

_lm_reply protected_oe property

protected WriteOnce _lm_reply
return WriteOnce

_node protected_oe property

protected Node _node
return Node

_result protected_oe property

protected LinkProtocolState.Result _result
return LinkProtocolState.Result

_ta protected_oe property

protected TransportAddress,Brunet.Transport _ta
return Brunet.Transport.TransportAddress

_x protected_oe property

protected WriteOnce _x
return WriteOnce