Click or drag to resize

FixedFormat Class

Defines the TelegramFormat of a telegram where byte length is fixed.
Inheritance Hierarchy
SystemObject
  Demo3D.HLE.Comms.TelegramTelegramFormat
    Demo3D.HLE.Comms.TelegramFixedFormat

Namespace: Demo3D.HLE.Comms.Telegram
Assembly: Demo3D.HLE (in Demo3D.HLE.dll) Version: 19.00.00
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public sealed class FixedFormat : TelegramFormat

The FixedFormat type exposes the following members.

Constructors
 NameDescription
Public methodFixedFormat Constructs a FixedFormat.
Top
Properties
 NameDescription
Public propertyIsBuilt True if the format has been built into a data type.
(Inherited from TelegramFormat)
Public propertyLength Format byte length.
(Overrides TelegramFormatLength)
Public propertyName Format name.
(Inherited from TelegramFormat)
Top
Methods
 NameDescription
Public methodAddSegment Adds and appends a new TelegramFormatSegment.
(Overrides TelegramFormatAddSegment(TelegramFormatSegment))
Public methodBuild Builds the format into a usable data type.
(Overrides TelegramFormatBuild)
Public methodCreateInstance Creates an instance of the format data type, i.e., a formatted telegram.
(Inherited from TelegramFormat)
Public methodFindSegment Returns an identified TelegramFormatSegment, or null.
(Inherited from TelegramFormat)
Public methodGetDataType Gets the built data type representing the format.
(Inherited from TelegramFormat)
Public methodInsertSegment Inserts a new TelegramFormatSegment at the specified index.
(Overrides TelegramFormatInsertSegment(TelegramFormatSegment, Int32))
Public methodProcessInboundTelegram Processes an inbound telegram.
(Overrides TelegramFormatProcessInboundTelegram(BufferSegment))
Public methodProcessInboundTelegramToSegments Processes an inbound telegram into its segments.
(Overrides TelegramFormatProcessInboundTelegramToSegments(BufferSegment))
Public methodProcessOutboundTelegram Processes an outbound telegram.
(Overrides TelegramFormatProcessOutboundTelegram(BufferSegment))
Public methodProcessSegmentsToOutboundTelegram Processes telegram segments into an outbound telegram.
(Overrides TelegramFormatProcessSegmentsToOutboundTelegram(IListBufferSegment))
Public methodRemoveSegment Removes a TelegramFormatSegment by name.
(Overrides TelegramFormatRemoveSegment(String))
Public methodReplaceSegments Replace all current segments with the provided.
(Overrides TelegramFormatReplaceSegments(IEnumerableTelegramFormatSegment))
Public methodToStringReturns a string that represents the current object.
(Inherited from TelegramFormat)
Top
Events
 NameDescription
Public eventPropertyChanged Raised when a property changes.
(Inherited from TelegramFormat)
Public eventSegmentPropertyChanged Raised when the properties of a segment is changed.
(Inherited from TelegramFormat)
Public eventSegmentsChanged Raised when Segments has changed.
(Inherited from TelegramFormat)
Top
Remarks

Can accept segments of type AlignedSegment or FixedSegment.

Length cannot be changed and is always equal to the sum of segment lengths.

See Also