Show / Hide Table of Contents

Class XorRelayedAddress

Inheritance
Object
Attribute
XorRelayedAddress
Inherited Members
Attribute.ToByteArray(Byte[])
Namespace: Libplanet.Stun.Attributes
Assembly: Libplanet.Stun.dll
Syntax
public class XorRelayedAddress : Attribute

Constructors

| Improve this Doc View Source

XorRelayedAddress(IPEndPoint)

Declaration
public XorRelayedAddress(IPEndPoint endPoint)
Parameters
Type Name Description
IPEndPoint endPoint

Properties

| Improve this Doc View Source

EndPoint

Declaration
public IPEndPoint EndPoint { get; }
Property Value
Type Description
IPEndPoint
| Improve this Doc View Source

Type

Declaration
public override Attribute.AttributeType Type { get; }
Property Value
Type Description
Attribute.AttributeType
Overrides
Attribute.Type

Methods

| Improve this Doc View Source

EncodePayload(Byte[])

Declaration
protected override byte[] EncodePayload(byte[] transactionId)
Parameters
Type Name Description
Byte[] transactionId
Returns
Type Description
Byte[]
Overrides
Attribute.EncodePayload(Byte[])
| Improve this Doc View Source

Parse(Byte[], Byte[])

Declaration
public static XorRelayedAddress Parse(byte[] bytes, byte[] transactionId)
Parameters
Type Name Description
Byte[] bytes
Byte[] transactionId
Returns
Type Description
XorRelayedAddress
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium