C# Класс Icmpv6EchoRequest, Hermod

Наследование: AProtocolHeader
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Icmpv6EchoRequestLength int

Открытые методы

Метод Описание
Create ( byte echoData, int &bytesCopied ) : Icmpv6EchoRequest,

This routine creates an instance of the Icmpv6EchoRequest class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.

GetProtocolPacketBytes ( byte payLoad ) : byte[]

This method builds the byte array representation of the ICMPv6 echo request header as it would appear on the wire.

Icmpv6EchoRequest ( ) : System

Simple constructor for the ICMPv6 echo request header

Описание методов

Create() публичный статический Метод

This routine creates an instance of the Icmpv6EchoRequest class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.
public static Create ( byte echoData, int &bytesCopied ) : Icmpv6EchoRequest,
echoData byte Byte array containing the binary ICMPv6 echo request header
bytesCopied int Number of bytes used in header
Результат Icmpv6EchoRequest,

GetProtocolPacketBytes() публичный Метод

This method builds the byte array representation of the ICMPv6 echo request header as it would appear on the wire.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Payload to appear after the ICMPv6 echo request header
Результат byte[]

Icmpv6EchoRequest() публичный Метод

Simple constructor for the ICMPv6 echo request header
public Icmpv6EchoRequest ( ) : System
Результат System

Описание свойств

Icmpv6EchoRequestLength публичное статическое свойство

public static int Icmpv6EchoRequestLength
Результат int