Show / Hide Table of Contents

Class Request

A Port Control Protocol request message.

Inheritance
Object
NatMessage
Message
Request
AnnounceRequest
MapRequest
Implements
ICloneable
Inherited Members
Message.NonceLength
Message.Version
Message.Opcode
Message.IsResponse
Message.Create(Byte[])
Message.Create<T>(Byte[])
NatMessage.Length()
NatMessage.Clone()
NatMessage.Clone<T>()
NatMessage.ToByteArray()
NatMessage.Write(Stream)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Makaretu.Nat.Pcp
Assembly: Makaretu.Nat.dll
Syntax
public class Request : Message, ICloneable

Properties

| Improve this Doc View Source

ClientAddress

The IP address of the client sending the request.

Declaration
public IPAddress ClientAddress { get; set; }
Property Value
Type Description
IPAddress

Either IPv4 or IPv6.

| Improve this Doc View Source

RequestedLifetime

The requested lifetime of a operation.

Declaration
public TimeSpan RequestedLifetime { get; set; }
Property Value
Type Description
TimeSpan

Resolution in seconds.

Methods

| Improve this Doc View Source

Read(NatReader)

Reads the NAT message.

Declaration
public override void Read(NatReader reader)
Parameters
Type Name Description
NatReader reader

The source for the NAT message.

Overrides
Message.Read(NatReader)
Remarks

Derived classes must override this.

| Improve this Doc View Source

Write(NatWriter)

Writes the NAT message.

Declaration
public override void Write(NatWriter writer)
Parameters
Type Name Description
NatWriter writer

The destination for the NAT message.

Overrides
Message.Write(NatWriter)
Remarks

Derived classes must override this.

Implements

System.ICloneable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX