pRTI™ v1.3

se.pitch.prti
Class RTI

java.lang.Object
  |
  +--se.pitch.prti.RTI

public class RTI
extends java.lang.Object


Field Summary
static int DefaultDimensionId
           
static int DefaultRegionId
           
static int DefaultRoutingSpaceId
           
static int FederateState_RestorePending
          FederateState_RestorePending = 4.
static int FederateState_Restoring
          FederateState_Restoring = 5.
static int FederateState_Running
          FederateState_Running = 1.
static int FederateState_Saveing
          FederateState_Saveing = 3.
static int FederateState_SavePending
          FederateState_SavePending = 2.
static int InitiatorFederate
           
static int InitiatorRTI
           
static int ManagerFederationId
           
static long MaxExtent
          The Maximum Extent of dimensions.
static long MinExtent
          The Minimum Extent of dimensions.
static java.lang.String OrderName_Receive
           
static java.lang.String OrderName_TSO
           
static int OrderType_Receive
           
static int OrderType_TSO
           
static int PrivilegeToDeleteObjectId
          Id of the special attribute indicating the priviledge to delete.
static java.lang.String PrivilegeToDeleteObjectName
          Name of the special attribute indicating the priviledge to delete.
static int RTIid
           
static int TimeState_Advancing
          TimeState_Advancing = 1.
static int TimeState_Idle
          TimeState_Idle = 0.
static java.lang.String TransportName_BestEffort
           
static java.lang.String TransportName_Reliable
           
static int TransportType_BestEffort
           
static int TransportType_Reliable
           
 
Constructor Summary
RTI()
           
 
Method Summary
static AttributeHandleSetFactory attributeHandleSetFactory()
          Return a Factory for generating Sets of Attribute handles.
static FederateHandleSetFactory federateHandleSetFactory()
          Return a Factory for generating Sets of Federate handles.
static int getOrderingHandle(java.lang.String name)
           
static java.lang.String getOrderingName(int theHandle)
           
static RTIambassador getRTIambassador(java.lang.String host, int port)
          Return an ambassador of an RTI running on the specified host.
static int getTransportationHandle(java.lang.String name)
           
static java.lang.String getTransportationName(int theHandle)
           
static java.lang.String getVersionName()
          Return the current version of pRTI.
static void setLogTargetConsole()
          Redirect logging to the console.
static void setLogTargetFile(java.lang.String fileName)
          Redirect logging to the specified file.
static void setLogTargetNull()
          Redirect logging to the void.
static SuppliedAttributesFactory suppliedAttributesFactory()
          Return a Factory for generating Sets of Attribute-Value pairs.
static SuppliedParametersFactory suppliedParametersFactory()
          Return a Factory for generating Sets of Parameters-Value pairs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PrivilegeToDeleteObjectId

public static final int PrivilegeToDeleteObjectId
Id of the special attribute indicating the priviledge to delete.

PrivilegeToDeleteObjectName

public static final java.lang.String PrivilegeToDeleteObjectName
Name of the special attribute indicating the priviledge to delete.

OrderType_Receive

public static final int OrderType_Receive

OrderType_TSO

public static final int OrderType_TSO

OrderName_Receive

public static final java.lang.String OrderName_Receive

OrderName_TSO

public static final java.lang.String OrderName_TSO

MinExtent

public static final long MinExtent
The Minimum Extent of dimensions.

MaxExtent

public static final long MaxExtent
The Maximum Extent of dimensions.

TimeState_Idle

public static final int TimeState_Idle
TimeState_Idle = 0. MOM enumerated datatype TimeState.

TimeState_Advancing

public static final int TimeState_Advancing
TimeState_Advancing = 1. MOM enumerated datatype TimeState.

FederateState_Running

public static final int FederateState_Running
FederateState_Running = 1. MOM enumerated datatype FederateState.

FederateState_SavePending

public static final int FederateState_SavePending
FederateState_SavePending = 2. MOM enumerated datatype FederateState.

FederateState_Saveing

public static final int FederateState_Saveing
FederateState_Saveing = 3. MOM enumerated datatype FederateState.

FederateState_RestorePending

public static final int FederateState_RestorePending
FederateState_RestorePending = 4. MOM enumerated datatype FederateState.

FederateState_Restoring

public static final int FederateState_Restoring
FederateState_Restoring = 5. MOM enumerated datatype FederateState.

InitiatorFederate

public static final int InitiatorFederate

InitiatorRTI

public static final int InitiatorRTI

ManagerFederationId

public static final int ManagerFederationId

RTIid

public static final int RTIid

TransportType_Reliable

public static final int TransportType_Reliable

TransportType_BestEffort

public static final int TransportType_BestEffort

TransportName_Reliable

public static final java.lang.String TransportName_Reliable

TransportName_BestEffort

public static final java.lang.String TransportName_BestEffort

DefaultRoutingSpaceId

public static final int DefaultRoutingSpaceId

DefaultDimensionId

public static final int DefaultDimensionId

DefaultRegionId

public static final int DefaultRegionId
Constructor Detail

RTI

public RTI()
Method Detail

getVersionName

public static java.lang.String getVersionName()
Return the current version of pRTI.
Returns:
String

getRTIambassador

public static RTIambassador getRTIambassador(java.lang.String host,
                                             int port)
                                      throws java.net.UnknownHostException,
                                             java.net.ConnectException,
                                             hla.rti.RTIinternalError
Return an ambassador of an RTI running on the specified host.
Parameters:
host - IP-number or name of the host running the central RTI component.
port - Port-number on which the RTI is listening.
Returns:
RTI ambassador.

suppliedAttributesFactory

public static SuppliedAttributesFactory suppliedAttributesFactory()
Return a Factory for generating Sets of Attribute-Value pairs.
Returns:
Supplied Attributes Factory.

suppliedParametersFactory

public static SuppliedParametersFactory suppliedParametersFactory()
Return a Factory for generating Sets of Parameters-Value pairs.
Returns:
Supplied Parameter Factory.

attributeHandleSetFactory

public static AttributeHandleSetFactory attributeHandleSetFactory()
Return a Factory for generating Sets of Attribute handles.
Returns:
Attribute Handle Set Factory.

federateHandleSetFactory

public static FederateHandleSetFactory federateHandleSetFactory()
Return a Factory for generating Sets of Federate handles.
Returns:
Federate Handle Set Factory.

getOrderingHandle

public static int getOrderingHandle(java.lang.String name)
                             throws hla.rti.NameNotFound

getOrderingName

public static java.lang.String getOrderingName(int theHandle)
                                        throws hla.rti.InvalidOrderingHandle

getTransportationHandle

public static int getTransportationHandle(java.lang.String name)
                                   throws hla.rti.NameNotFound

getTransportationName

public static java.lang.String getTransportationName(int theHandle)
                                              throws hla.rti.InvalidTransportationHandle

setLogTargetNull

public static void setLogTargetNull()
Redirect logging to the void.

setLogTargetConsole

public static void setLogTargetConsole()
Redirect logging to the console.

setLogTargetFile

public static void setLogTargetFile(java.lang.String fileName)
Redirect logging to the specified file.
Parameters:
filename - The name of the output file.

pRTI™ v1.3

Visit the pRTI™ Website

pRTI is a trademark of Pitch Technologies AB

Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.