BytesDataWriter Class Reference
[Octets Built-in Type]

<<interface>> Instantiates DataWriter < com.rti.dds.type.builtin.Bytes >. More...

Inheritance diagram for BytesDataWriter:

DataWriter DomainEntity Entity

List of all members.

Public Member Functions

void write (Bytes instance_data, InstanceHandle_t handle)
 Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.
void write (byte[] octets, int offset, int length, InstanceHandle_t handle)
 <<eXtension>> Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.
void write (ByteSeq octets, InstanceHandle_t handle)
 <<eXtension>> Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.
void write_w_timestamp (Bytes instance_data, InstanceHandle_t handle, Time_t source_timestamp)
 Performs the same function as com.rti.dds.type.builtin.BytesDataWriter.write except that it also provides the value for the source_timestamp.
void write_w_timestamp (byte[] octets, int offset, int length, InstanceHandle_t handle, Time_t source_timestamp)
 <<eXtension>> Performs the same function as BytesDataWriter.write except that it also provides the value for the source_timestamp.
void write_w_timestamp (ByteSeq octets, InstanceHandle_t handle, Time_t source_timestamp)
 <<eXtension>> Performs the same function as BytesDataWriter.write except that it also provides the value for the source_timestamp.


Detailed Description

<<interface>> Instantiates DataWriter < com.rti.dds.type.builtin.Bytes >.

See also:
com.rti.dds.topic.example.FooDataWriter

com.rti.dds.publication.DataWriter


Member Function Documentation

void write ( Bytes  instance_data,
InstanceHandle_t  handle 
)

Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.

See also:
com.rti.dds.topic.example.FooDataWriter.write

void write ( byte[]  octets,
int  offset,
int  length,
InstanceHandle_t  handle 
)

<<eXtension>> Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.

Parameters:
octets <<in>> Array of bytes to be published.
offset <<in>> Offset from which to start publishing.
length <<in>> Number of bytes to be published.
handle <<in>> The special value InstanceHandle_t.HANDLE_NIL should be used always.
See also:
com.rti.dds.topic.example.FooDataWriter.write

void write ( ByteSeq  octets,
InstanceHandle_t  handle 
)

<<eXtension>> Modifies the value of a com.rti.dds.type.builtin.Bytes data instance.

Parameters:
octets <<in>> Sequence of bytes to be published.
handle <<in>> The special value InstanceHandle_t.HANDLE_NIL should be used always.
See also:
com.rti.dds.topic.example.FooDataWriter.write

void write_w_timestamp ( Bytes  instance_data,
InstanceHandle_t  handle,
Time_t  source_timestamp 
)

Performs the same function as com.rti.dds.type.builtin.BytesDataWriter.write except that it also provides the value for the source_timestamp.

See also:
com.rti.dds.topic.example.FooDataWriter.write_w_timestamp

void write_w_timestamp ( byte[]  octets,
int  offset,
int  length,
InstanceHandle_t  handle,
Time_t  source_timestamp 
)

<<eXtension>> Performs the same function as BytesDataWriter.write except that it also provides the value for the source_timestamp.

Parameters:
octets <<in>> Array of bytes to be published.
offset <<in>> Offset from which to start publishing.
length <<in>> Number of bytes to be published.
handle <<in>> The special value InstanceHandle_t.HANDLE_NIL should be used always.
source_timestamp <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See com.rti.dds.topic.example.FooDataWriter.write_w_timestamp. Cannot be NULL.
See also:
com.rti.dds.topic.example.FooDataWriter.write_w_timestamp

void write_w_timestamp ( ByteSeq  octets,
InstanceHandle_t  handle,
Time_t  source_timestamp 
)

<<eXtension>> Performs the same function as BytesDataWriter.write except that it also provides the value for the source_timestamp.

Parameters:
octets <<in>> Sequence of bytes to be published.
handle <<in>> The special value InstanceHandle_t.HANDLE_NIL should be used always.
source_timestamp <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See com.rti.dds.topic.example.FooDataWriter.write_w_timestamp. Cannot be NULL.
See also:
com.rti.dds.topic.example.FooDataWriter.write_w_timestamp


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc