C# Class Icmpv6EchoRequest, Hermod

Inheritance: AProtocolHeader
Afficher le fichier Open project: Vanaheimr/Hermod Class Usage Examples

Méthodes publiques

Свойство Type Description
Icmpv6EchoRequestLength int

Méthodes publiques

Méthode Description
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

Method Details

Create() public static méthode

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
Résultat Icmpv6EchoRequest,

GetProtocolPacketBytes() public méthode

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
Résultat byte[]

Icmpv6EchoRequest() public méthode

Simple constructor for the ICMPv6 echo request header
public Icmpv6EchoRequest ( ) : System
Résultat System

Property Details

Icmpv6EchoRequestLength public_oe static_oe property

public static int Icmpv6EchoRequestLength
Résultat int