ChannelBase Class

Represents the common implementation of the protocol independent definition of any kind of data that can be parsed or generated.
This is the base class of all parsing/generating classes in the phasor protocols library; it is the root of the parsing/generating class hierarchy.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public abstract class ChannelBase : BinaryImageBase, 
	IChannel, ISupportBinaryImage
Inheritance
Object    BinaryImageBase    ChannelBase
Derived
Implements
ISupportBinaryImage, IChannel

Remarks

This base class represents IChannel data images for parsing or generation in terms of a header, body and footer (see BinaryImageBase for details).

Constructors

ChannelBaseInitializes a new instance of the ChannelBase class

Properties

Attributes Gets a DictionaryTKey, TValue of string based property names and values for this ChannelBase object.
BinaryImage Gets the binary image of the ChannelBase object.
BinaryLength Gets the length of the BinaryImageBase object.
(Inherited from BinaryImageBase)
BodyImage Gets the binary body image of the ChannelBase object.
BodyLength Gets the length of the body portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
FooterImage Gets the binary footer image of the BinaryImageBase object.
FooterLength Gets the length of the footer portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
HeaderImage Gets the binary header image of the ChannelBase object.
HeaderLength Gets the length of the header portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
State Gets or sets the parsing state for this ChannelBase object.
Tag Gets or sets a user definable reference to an object associated with this ChannelBase object.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
(Overrides GenerateBinaryImage(Byte[], Int32))
GenerateBodyImage(Byte[], Int32) Generates the binary body image and copies it into the given buffer, for BodyLength bytes.
(Inherited from BinaryImageBase)
GenerateFooterImage(Byte[], Int32) Generates the binary footer image and copies it into the given buffer, for FooterLength bytes.
(Inherited from BinaryImageBase)
GenerateHeaderImage(Byte[], Int32) Generates the binary header image and copies it into the given buffer, for HeaderLength bytes.
(Inherited from BinaryImageBase)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseBinaryImage(Byte[], Int32, Int32) Initializes object by parsing the specified buffer containing a binary image.
(Inherited from BinaryImageBase)
ParseBodyImage(Byte[], Int32, Int32) Parses the binary body image.
(Inherited from BinaryImageBase)
ParseFooterImage(Byte[], Int32, Int32) Parses the binary footer image.
(Inherited from BinaryImageBase)
ParseHeaderImage(Byte[], Int32, Int32) Parses the binary header image.
(Inherited from BinaryImageBase)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

CopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)

See Also