CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class FooTypeSupport

java.lang.Object
  extended by com.toc.coredx.DDS.FooTypeSupport
All Implemented Interfaces:
TypeSupport

public class FooTypeSupport
extends java.lang.Object
implements TypeSupport

The FooTypeSupport class impliments the TypeSupport inteface for the Data Type 'Foo'. This provides a mechanism for an application to register the 'Foo' application defined data type with CoreDX DDS.

Note: FooTypeSupport is provided here for illustration purposes and is not really included in the com.toc.coredx.DDS package.

See Also:
FooTypeSupport

Constructor Summary
FooTypeSupport()
           
 
Method Summary
 java.lang.String get_type_name()
          Returns the default name of the Data Type supported by this instance of TypeSupport (in this case, 'Foo').
 ReturnCode_t register_type(DomainParticipant dp, java.lang.String type_name)
          Registers the 'Foo' Data Type with the DDS infrastructure.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.toc.coredx.DDS.TypeSupport
create_datareader, create_datawriter, getCTypeSupport
 

Constructor Detail

FooTypeSupport

public FooTypeSupport()
Method Detail

register_type

public ReturnCode_t register_type(DomainParticipant dp,
                                  java.lang.String type_name)
Registers the 'Foo' Data Type with the DDS infrastructure. The type is registered under the name 'type_name'. If the 'type_name' parameter is null, then the default name ('Foo' in this case), will be used.

Specified by:
register_type in interface TypeSupport
See Also:
FooTypeSupport

get_type_name

public java.lang.String get_type_name()
Returns the default name of the Data Type supported by this instance of TypeSupport (in this case, 'Foo').

Specified by:
get_type_name in interface TypeSupport

Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved