C# Класс IgmpHeader, Hermod

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

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

Свойство Тип Описание
AllSystemsAddress System.IPv4Address
IgmpHeaderLength int
IgmpLeaveGroup byte
IgmpMembershipQuery byte
IgmpMembershipReport byte
IgmpMembershipReportV2 byte

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

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

This routine creates an instance of the IgmpHeader 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 routine creates the byte array representation of the IGMP packet as it would look on the wire.

IgmpHeader ( ) : System

Simple constructor for the IGMP header that initializes the member fields.

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

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

This routine creates an instance of the IgmpHeader 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 igmpPacket, int &bytesCopied ) : IgmpHeader,
igmpPacket byte Byte array containing the binary IGMP header
bytesCopied int Number of bytes used in header
Результат IgmpHeader,

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

This routine creates the byte array representation of the IGMP packet as it would look on the wire.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Payload to copy after the IGMP header
Результат byte[]

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

Simple constructor for the IGMP header that initializes the member fields.
public IgmpHeader ( ) : System
Результат System

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

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

public static IPv4Address,System AllSystemsAddress
Результат System.IPv4Address

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

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

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

public static byte IgmpLeaveGroup
Результат byte

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

public static byte IgmpMembershipQuery
Результат byte

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

public static byte IgmpMembershipReport
Результат byte

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

public static byte IgmpMembershipReportV2
Результат byte