C# Class NetMQ.Zyre.ZyrePeer

Inheritance: IDisposable
显示文件 Open project: NetMQ/Zyre Class Usage Examples

Private Properties

Property Type Description
Connect void
Destroy void
Disconnect void
GetIdentity byte[]
Header string
IncrementStatus void
MessagesLost bool
NewPeer ZyrePeer
Refresh void
Send bool
ZyrePeer System

Public Methods

Method Description
Dispose ( ) : void

Release any contained resources.

ToString ( ) : string

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release any contained resources.

Private Methods

Method Description
Connect ( System.Guid replyTo, string endpoint ) : void

Connect peer mailbox Configures a DealerSocket mailbox connected to peer's router endpoint

Destroy ( ) : void

Disconnect this peer and Dispose this class.

Disconnect ( ) : void

Disconnect peer mailbox No more messages will be sent to peer until connected again

GetIdentity ( System.Guid replyTo ) : byte[]
Header ( string key, string defaultValue ) : string

Get peer header value

IncrementStatus ( ) : void

Increment status

MessagesLost ( ZreMsg msg ) : bool

Check if messages were lost from peer, returns true if they were

NewPeer ( ZyrePeer>.Dictionary container, System.Guid guid, Action loggerDelegate = null ) : ZyrePeer

Construct new ZyrePeer object

Refresh ( ) : void

Register activity at peer

Send ( ZreMsg msg ) : bool

Send message to peer

ZyrePeer ( System.Guid uuid, Action loggerDelegate = null ) : System

Method Details

Dispose() public method

Release any contained resources.
public Dispose ( ) : void
return void

Dispose() protected method

Release any contained resources.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources are to be released
return void

ToString() public method

public ToString ( ) : string
return string