org.omg.dds.type
Class TypeSupport<TYPE>
java.lang.Object
org.omg.dds.type.TypeSupport<TYPE>
- All Implemented Interfaces:
- DDSObject
public abstract class TypeSupport<TYPE>
- extends java.lang.Object
- implements DDSObject
|
Method Summary |
abstract java.lang.String |
getTypeName()
|
static
|
newTypeSupport(java.lang.Class<TYPE> type,
Bootstrap bootstrap)
Create a new TypeSupport object for the given physical type. |
static
|
newTypeSupport(java.lang.Class<TYPE> type,
java.lang.String registeredName,
Bootstrap bootstrap)
Create a new TypeSupport object for the given physical type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeSupport
public TypeSupport()
newTypeSupport
public static <TYPE> TypeSupport<TYPE> newTypeSupport(java.lang.Class<TYPE> type,
Bootstrap bootstrap)
- Create a new TypeSupport object for the given physical type.
This method is equivalent to:
newTypeSupport(type, type.getClass().getName(), bootstrap)
- See Also:
newTypeSupport(Class, String, Bootstrap)
newTypeSupport
public static <TYPE> TypeSupport<TYPE> newTypeSupport(java.lang.Class<TYPE> type,
java.lang.String registeredName,
Bootstrap bootstrap)
- Create a new TypeSupport object for the given physical type.
The Service will register this type under the given name with any
participant with which the TypeSupport is used.
- Type Parameters:
TYPE - The physical type of all samples read or written by
any DataReader or
DataWriter typed by the
resulting TypeSupport.- Parameters:
type - The physical type of all samples read or written by
any DataReader or
DataWriter typed by the
resulting TypeSupport.registeredName - The logical name under which this type will
be registered with any
DomainParticipant
with which the resulting
TypeSupport is used.bootstrap - Identifies the Service instance to which the new
object will belong.
- Returns:
- A new
TypeSupport object, which can
subsequently be used to create one or more
Topics. - See Also:
newTypeSupport(Class, Bootstrap)
getTypeName
public abstract java.lang.String getTypeName()
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.