RTI Connext C# API  6.1.2
OctetsTopicType Class Reference

An un-keyed topic-type consisting of a sequence of bytes. This type can be used to instantiate a Dds.Topics.Topic<T>. More...

Inherits IEquatable< OctetsTopicType >.

Public Member Functions

 OctetsTopicType ()
 Creates an empty sequence More...
 
 OctetsTopicType (Sequence< byte > sharedSequence)
 Creates an object that shares the sequence More...
 
 OctetsTopicType (OctetsTopicType other)
 Creates an object with a copy of the elements of another object More...
 
bool Equals (OctetsTopicType other)
 Compares for equality More...
 
override bool Equals (object obj)
 Compares for equality More...
 
override string ToString ()
 Displays the sequence of bytes More...
 
override int GetHashCode ()
 Calculates a simple hash code More...
 

Properties

ISequence< byte > Value [get]
 The sequence of bytes More...
 

Detailed Description

An un-keyed topic-type consisting of a sequence of bytes. This type can be used to instantiate a Dds.Topics.Topic<T>.

This type is equivalent to the following IDL type:

sequence<octet, 2048> value;
};
OctetsTopicType()
Creates an empty sequence
Definition: OctetsTopicType.cs:38

Note that the maximum sequence size that can be published with this type is 2048 bytes.

Constructor & Destructor Documentation

◆ OctetsTopicType() [1/3]

Creates an empty sequence

◆ OctetsTopicType() [2/3]

OctetsTopicType ( Sequence< byte >  sharedSequence)

Creates an object that shares the sequence

◆ OctetsTopicType() [3/3]

Creates an object with a copy of the elements of another object

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  obj)

Compares for equality

◆ Equals() [2/2]

bool Equals ( OctetsTopicType  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Calculates a simple hash code

Returns
A hash code based on the length and the first and last bytes

◆ ToString()

override string ToString ( )

Displays the sequence of bytes

Property Documentation

◆ Value

ISequence<byte> Value
get

The sequence of bytes