Show / Hide Table of Contents

Class XorMappedAddress

Inheritance
Object
Attribute
XorMappedAddress
Inherited Members
Attribute.ToByteArray(Byte[])
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Stun.Attributes
Assembly: Libplanet.Stun.dll
Syntax
public class XorMappedAddress : Attribute

Constructors

| Improve this Doc View Source

XorMappedAddress(IPEndPoint)

Declaration
public XorMappedAddress(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 XorMappedAddress Parse(byte[] bytes, byte[] transactionId)
Parameters
Type Name Description
Byte[] bytes
Byte[] transactionId
Returns
Type Description
XorMappedAddress
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium