C# Class GSF.PhasorProtocols.HeaderCell

Inheritance: ChannelCellBase, IHeaderCell
ファイルを表示 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a SerializationInfo with the data needed to serialize the target object.

HeaderCell ( IHeaderFrame parent, byte character ) : System

Creates a new HeaderCell from specified parameters.

Protected Methods

Method Description
HeaderCell ( SerializationInfo info, StreamingContext context ) : System

Creates a new HeaderCell from serialization parameters.

ParseBodyImage ( byte buffer, int startIndex, int length ) : int

Parses the binary body image.

Private Methods

Method Description
CreateNewCell ( IChannelFrame parent, IChannelFrameParsingState state, int index, byte buffer, int startIndex, int &parsedLength ) : IHeaderCell

Method Details

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination for this serialization.
return void

HeaderCell() public method

Creates a new HeaderCell from specified parameters.
public HeaderCell ( IHeaderFrame parent, byte character ) : System
parent IHeaderFrame A reference to the parent for this .
character byte ASCII character as a that represents this .
return System

HeaderCell() protected method

Creates a new HeaderCell from serialization parameters.
protected HeaderCell ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The with populated with data.
context System.Runtime.Serialization.StreamingContext The source for this deserialization.
return System

ParseBodyImage() protected method

Parses the binary body image.
protected ParseBodyImage ( byte buffer, int startIndex, int length ) : int
buffer byte Binary image to parse.
startIndex int Start index into to begin parsing.
length int Length of valid data within .
return int