C# Class BitSharper.PeerAddress

Inheritance: Message
Exibir arquivo Open project: TangibleCryptography/BitSharper Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BitcoinSerializeToStream ( Stream stream ) : void
PeerAddress ( IPAddress addr ) : System
PeerAddress ( IPAddress addr, int port ) : System
PeerAddress ( IPAddress addr, int port, uint protocolVersion ) : System

Construct a peer address from a memorized or hardcoded address.

PeerAddress ( IPEndPoint addr ) : System
PeerAddress ( NetworkParameters @params, byte payload, int offset, uint protocolVersion ) : System

Construct a peer address from a serialized payload.

ToString ( ) : string

Protected Methods

Method Description
Parse ( ) : void

Method Details

BitcoinSerializeToStream() public method

public BitcoinSerializeToStream ( Stream stream ) : void
stream Stream
return void

Parse() protected method

protected Parse ( ) : void
return void

PeerAddress() public method

public PeerAddress ( IPAddress addr ) : System
addr System.Net.IPAddress
return System

PeerAddress() public method

public PeerAddress ( IPAddress addr, int port ) : System
addr System.Net.IPAddress
port int
return System

PeerAddress() public method

Construct a peer address from a memorized or hardcoded address.
public PeerAddress ( IPAddress addr, int port, uint protocolVersion ) : System
addr System.Net.IPAddress
port int
protocolVersion uint
return System

PeerAddress() public method

public PeerAddress ( IPEndPoint addr ) : System
addr System.Net.IPEndPoint
return System

PeerAddress() public method

Construct a peer address from a serialized payload.
public PeerAddress ( NetworkParameters @params, byte payload, int offset, uint protocolVersion ) : System
@params NetworkParameters
payload byte
offset int
protocolVersion uint
return System

ToString() public method

public ToString ( ) : string
return string