C# Class DeOps.CachedIP

Inheritance: DeOps.Implementation.Protocol.G2Packet
Exibir arquivo Open project: swax/DeOps Class Usage Examples

Public Properties

Property Type Description
Bootstrap bool
Contact DeOps.Implementation.Dht.DhtContact
LastSeen System.DateTime
Name byte

Public Methods

Method Description
CachedIP ( ) : System
CachedIP ( byte name, DeOps.Implementation.Dht.DhtContact contact, bool bootstrap ) : System
Decode ( DeOps.Implementation.Protocol.G2Header root ) : CachedIP
Encode ( DeOps.Implementation.Protocol.G2Protocol protocol ) : byte[]

Method Details

CachedIP() public method

public CachedIP ( ) : System
return System

CachedIP() public method

public CachedIP ( byte name, DeOps.Implementation.Dht.DhtContact contact, bool bootstrap ) : System
name byte
contact DeOps.Implementation.Dht.DhtContact
bootstrap bool
return System

Decode() public static method

public static Decode ( DeOps.Implementation.Protocol.G2Header root ) : CachedIP
root DeOps.Implementation.Protocol.G2Header
return CachedIP

Encode() public method

public Encode ( DeOps.Implementation.Protocol.G2Protocol protocol ) : byte[]
protocol DeOps.Implementation.Protocol.G2Protocol
return byte[]

Property Details

Bootstrap public_oe property

public bool Bootstrap
return bool

Contact public_oe property

public DhtContact,DeOps.Implementation.Dht Contact
return DeOps.Implementation.Dht.DhtContact

LastSeen public_oe property

public DateTime,System LastSeen
return System.DateTime

Name public_oe property

public byte Name
return byte