BytesSeq Class Reference
[Octets Built-in Type]

Instantiates com.rti.dds.util.Sequence < com.rti.dds.type.builtin.Bytes > . More...

Inheritance diagram for BytesSeq:

LoanableSequence Copyable Sequence AbstractSequence Sequence

List of all members.

Public Member Functions

 BytesSeq ()
 Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with an initial maximum of zero.
 BytesSeq (int initialMaximum)
 Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with the given initial maximum.
 BytesSeq (Collection elements)
 Constructs a new sequence containing the given com.rti.dds.type.builtin.Bytes objects.
Object copy_from (Object src)

Package Attributes

transient Sequence _loanedInfoSequence = null


Detailed Description

Instantiates com.rti.dds.util.Sequence < com.rti.dds.type.builtin.Bytes > .

Instantiates:
<<generic>> com.rti.dds.util.Sequence
See also:
com.rti.dds.type.builtin.Bytes

Constructor & Destructor Documentation

BytesSeq (  ) 

Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with an initial maximum of zero.

BytesSeq ( int  initialMaximum  ) 

Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with the given initial maximum.

BytesSeq ( Collection  elements  ) 

Constructs a new sequence containing the given com.rti.dds.type.builtin.Bytes objects.

Parameters:
elements the initial contents of this sequence.
Exceptions:
NullPointerException if the input collection is null


Member Function Documentation

Object copy_from ( Object  src  ) 

Copy data into this object from another. The result of this method is that both this and src will be the same size and contain the same data.

Parameters:
src The Object which contains the data to be copied
Returns:
this
Exceptions:
NullPointerException If src is null.
ClassCastException If src is not a Sequence OR if one of the objects contained in the Sequence is not of the expected type.
See also:
com.rti.dds.infrastructure.Copyable.copy_from(java.lang.Object)

Implements Copyable.


Member Data Documentation

transient Sequence _loanedInfoSequence = null [package]

When a memory loan has been taken out in the lower layers of NDDS, store a pointer to the native sequence here. That way, when we call finish(), we can give the memory back.


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