C# Class GSF.PhasorProtocols.HeaderCell

Inheritance: ChannelCellBase, IHeaderCell
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes publiques

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

Méthodes protégées

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

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

Method Details

GetObjectData() public méthode

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.
Résultat void

HeaderCell() public méthode

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 .
Résultat System

HeaderCell() protected méthode

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.
Résultat System

ParseBodyImage() protected méthode

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 .
Résultat int