org.omg.dds.type.builtin
Interface KeyedBytes

All Superinterfaces:
java.lang.Cloneable, DDSObject, ModifiableValue<KeyedBytes,KeyedBytes>, java.io.Serializable, Value<KeyedBytes,KeyedBytes>

public interface KeyedBytes
extends ModifiableValue<KeyedBytes,KeyedBytes>


Method Summary
 java.lang.String getKey()
           
 byte[] getValue()
           
 KeyedBytes setKey(java.lang.CharSequence key)
           
 KeyedBytes setValue(byte[] value)
           
 KeyedBytes setValue(byte[] value, int offset, int length)
           
 
Methods inherited from interface org.omg.dds.core.modifiable.ModifiableValue
clone, copyFrom, finishModification
 
Methods inherited from interface org.omg.dds.core.Value
equals, hashCode, modify
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Method Detail

getKey

java.lang.String getKey()
Returns:
the key

setKey

KeyedBytes setKey(java.lang.CharSequence key)
Parameters:
key - the key to set
Returns:
this

getValue

byte[] getValue()
Returns:
the value

setValue

KeyedBytes setValue(byte[] value)
Parameters:
value - the value to set
Returns:
this

setValue

KeyedBytes setValue(byte[] value,
                    int offset,
                    int length)
Parameters:
value - the value to set
Returns:
this


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.