C# 클래스 IgmpHeader, Hermod

상속: AProtocolHeader
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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