KeyedBytesSeq Class Reference
[KeyedOctets Built-in Type]

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

Inheritance diagram for KeyedBytesSeq:

LoanableSequence Copyable Sequence AbstractSequence Sequence

List of all members.

Public Member Functions

 KeyedBytesSeq ()
 Constructs an empty sequence of com.rti.dds.type.builtin.KeyedBytes objects with an initial maximum of zero.
 KeyedBytesSeq (int initialMaximum)
 Constructs an empty sequence of com.rti.dds.type.builtin.KeyedBytes objects with the given initial maximum.
 KeyedBytesSeq (Collection elements)
 Constructs a new sequence containing the given com.rti.dds.type.builtin.KeyedBytes 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.KeyedBytes >.

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

Constructor & Destructor Documentation

KeyedBytesSeq (  ) 

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

KeyedBytesSeq ( int  initialMaximum  ) 

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

KeyedBytesSeq ( Collection  elements  ) 

Constructs a new sequence containing the given com.rti.dds.type.builtin.KeyedBytes 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