Show / Hide Table of Contents

Class BoundPeerExtensions

This extension class activates transport-oriented methods on BoundPeer.

Inheritance
Object
BoundPeerExtensions
Namespace: Libplanet.Net.Transports
Assembly: Libplanet.Net.dll
Syntax
public static class BoundPeerExtensions : object

Methods

| Improve this Doc View Source

QueryAppProtocolVersionNetMQ(BoundPeer, Nullable<TimeSpan>)

Queries AppProtocolVersion of given BoundPeer specialized for NetMQ based transport.

Declaration
public static AppProtocolVersion QueryAppProtocolVersionNetMQ(this BoundPeer peer, TimeSpan? timeout = null)
Parameters
Type Name Description
BoundPeer peer

The BoundPeer to query AppProtocolVersion.

Nullable<TimeSpan> timeout

Timeout value for request.

Returns
Type Description
AppProtocolVersion

AppProtocolVersion of given peer.

See Also

BoundPeer
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium