org.eodisp.hla.lrc.jlc
Class RtiFactoryImpl

java.lang.Object
  extended by org.eodisp.hla.lrc.jlc.RtiFactoryImpl
All Implemented Interfaces:
RtiFactory

public class RtiFactoryImpl
extends java.lang.Object
implements RtiFactory

Implementation of the RtiFactory as it is defined in the 'Dynamic Link Compatible HLA API'.

Version:
$Id: ERTIFactory.java 1631 2006-03-08 13:59:11Z ibirrer $
Author:
ibirrer
See Also:
SISO-STD-004.1-2004.pdf

Constructor Summary
RtiFactoryImpl()
           
 
Method Summary
 RTIambassador getRtiAmbassador()
          Creates and returns a new RtiAmbassador for each call of this method.
 java.lang.String RtiName()
          Returns the name of the RTI.
 java.lang.String RtiVersion()
          Returns the version of the RTI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtiFactoryImpl

public RtiFactoryImpl()
Method Detail

getRtiAmbassador

public RTIambassador getRtiAmbassador()
                               throws RTIinternalError
Creates and returns a new RtiAmbassador for each call of this method. An RtiAmbassador can only be used by one federate and one federate must always use the same RtiAmbassador instance.

Specified by:
getRtiAmbassador in interface RtiFactory
Returns:
A newly created RtiAmbassador
Throws:
RTIinternalError - if the CRC URI (given by the LrcConfiguration) is not a valid URI or if connecting to the CRC is not possible.

RtiName

public java.lang.String RtiName()
Returns the name of the RTI.

Specified by:
RtiName in interface RtiFactory
Returns:
the name of the RTI.

RtiVersion

public java.lang.String RtiVersion()
Returns the version of the RTI.

Specified by:
RtiVersion in interface RtiFactory
Returns:
the version of the RTI.