RTI Connext C# API  6.1.0
AckResponseData Class Reference

Data payload associated with an application-level acknowledgment. More...

Inherits IEquatable< AckResponseData >.

Public Member Functions

 AckResponseData (IEnumerable< byte > value)
 Creates a new AckResponseData instance with the bytes inside a container. More...
 
 AckResponseData (ImmutableList< byte > value)
 Creates an AckResponseData object from a list of bytes. More...
 
AckResponseData With (Action< ImmutableList< byte >.Builder > build)
 Creates a new AckResponseData with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code. More...
 
override bool Equals (object other)
 Compares for equality. More...
 
bool Equals (AckResponseData other)
 Compares for equality. More...
 

Properties

ImmutableList< byte > Value [get]
 A sequence of bytes. More...
 
static AckResponseData Empty [get]
 Creates a new empty AckResponseData instance. More...
 

Detailed Description

Data payload associated with an application-level acknowledgment.

The full documentation is available in the C API: DDS_AckResponseData_t

Constructor & Destructor Documentation

◆ AckResponseData() [1/2]

AckResponseData ( IEnumerable< byte >  value)

Creates a new AckResponseData instance with the bytes inside a container.

◆ AckResponseData() [2/2]

AckResponseData ( ImmutableList< byte >  value)

Creates an AckResponseData object from a list of bytes.

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( AckResponseData  other)

Compares for equality.

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality.

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code.

◆ With()

AckResponseData With ( Action< ImmutableList< byte >.Builder >  build)

Creates a new AckResponseData with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable list with the current values of this object's Value.
Returns
A new AckResponseData with the changes applied by the Action

Property Documentation

◆ Empty

AckResponseData Empty
staticget

Creates a new empty AckResponseData instance.

◆ Value

ImmutableList<byte> Value
get

A sequence of bytes.

The full documentation is available in the C API: DDS_AckResponseData_t::value