RTI Connext C# API
6.1.2
|
A keyed topic-type containing a string (the key) and a sequence of bytes. This type can be used to instantiate a Rti.Dds.Topics.Topic<T>. More...
Inherits IEquatable< KeyedOctetsTopicType >.
Public Member Functions | |
KeyedOctetsTopicType () | |
Creates an instance with an empty key and an empty sequence. More... | |
KeyedOctetsTopicType (string Key, ISequence< byte > Value) | |
Creates an instance with the given key and sequence of bytes. More... | |
KeyedOctetsTopicType (KeyedOctetsTopicType other) | |
Creates an instance with a copy of another instance (the sequence elements are also copied). More... | |
override int | GetHashCode () |
Gets a simple hashcode based on the key and the number of elements. More... | |
bool | Equals (KeyedOctetsTopicType other) |
Compares the key and the full sequence More... | |
override bool | Equals (object obj) |
Compares the key and the full sequence More... | |
override string | ToString () |
Converts to string More... | |
Properties | |
string | Key [get, set] |
The key (its maximum size is 1024 bytes in UTF-8 format) More... | |
ISequence< byte > | Value [get] |
The sequence of octets (its maximum size is 2048) More... | |
A keyed topic-type containing a string (the key) and a sequence of bytes. This type can be used to instantiate a Rti.Dds.Topics.Topic<T>.
This type is equivalent to the following IDL type:
Creates an instance with an empty key and an empty sequence.
KeyedOctetsTopicType | ( | string | Key, |
ISequence< byte > | Value | ||
) |
Creates an instance with the given key and sequence of bytes.
KeyedOctetsTopicType | ( | KeyedOctetsTopicType | other | ) |
Creates an instance with a copy of another instance (the sequence elements are also copied).
bool Equals | ( | KeyedOctetsTopicType | other | ) |
Compares the key and the full sequence
override bool Equals | ( | object | obj | ) |
Compares the key and the full sequence
override int GetHashCode | ( | ) |
Gets a simple hashcode based on the key and the number of elements.
override string ToString | ( | ) |
Converts to string
|
getset |
The key (its maximum size is 1024 bytes in UTF-8 format)
|
get |
The sequence of octets (its maximum size is 2048)