genDevs.devsBridge.proxy
Class InitializableAtomicCorbaFactory
java.lang.Object
GenCol.entity
genDevs.modeling.devs
genDevs.modeling.atomic
simView.ViewableAtomic
genDevs.devsBridge.proxy.ViewableAtomicDevs
genDevs.devsBridge.proxy.InitializeableAtomicDevs
genDevs.devsBridge.proxy.InitializableAtomicCorbaFactory
- All Implemented Interfaces:
- devsBridge.XMLInitModelOperations, devsBridge.XMLParamInitModelOperations, devsBridge.XMLStateInitModelOperations, GenCol.EntityInterface, DevsInitI, DevsPortsI, genDevs.modeling.IOBasicDevs, genDevs.modeling.IODevs, simView.ViewableComponent
public class InitializableAtomicCorbaFactory
- extends InitializeableAtomicDevs
proxy for the devsModel which is obtained from a DevsFactory
which located at specified CorbaLoc
- Author:
- twutz
Fields inherited from class simView.ViewableAtomic |
backgroundColor, base, view |
Fields inherited from class genDevs.modeling.atomic |
a, INFINITY, mySim, phase, sigma |
Fields inherited from class genDevs.modeling.devs |
mh |
Fields inherited from class GenCol.entity |
name |
Constructor Summary |
InitializableAtomicCorbaFactory(ORBHelper.ORBInfo orbInfo,
java.lang.String host,
int port,
java.lang.String factoryName,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans,
java.lang.String params)
constructs a new proxy for the DevsModel obtained from the factory |
InitializableAtomicCorbaFactory(ORBHelper.ORBInfo orbInfo,
java.lang.String corbaLoc,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans,
java.lang.String params)
constructs a new proxy for the DevsModel obtained from the factory |
Methods inherited from class simView.ViewableAtomic |
addTestInput, addTestInput, createView, getAtomicView, getBackgroundColor, getFormattedPhase, getFormattedSigma, getFormattedTL, getFormattedTN, getInportNames, getLayoutName, getNumInports, getNumOutports, getOutportNames, getPreferredLocation, getSimulator, getTestInputs, getTooltipText, getView, isHidden, setBackgroundColor, setHidden, setLayoutName, setPreferredLocation, setSigma |
Methods inherited from class genDevs.modeling.atomic |
Continue, deltcon, deltext, getActivity, getPhase, getSigma, getSim, holdIn, holdIn, out, passivate, passivateIn, phaseIs, setSimulator, showState, startActiviry, stringState, ta, toString |
Methods inherited from class genDevs.modeling.devs |
addInport, addOutport, makeContent, makeContent, messageOnPort, messageOnPort |
Methods inherited from class GenCol.entity |
addSelf, eq, equalName, equals, getExtRep, getName, print, removeSelf |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface genDevs.modeling.IOBasicDevs |
getActivity, setSimulator |
Methods inherited from interface genDevs.modeling.IODevs |
addInport, addOutport, makeContent, messageOnPort |
Methods inherited from interface GenCol.EntityInterface |
equalName, getExtRep, getName |
Methods inherited from interface simView.ViewableComponent |
getName |
orbInfo
protected ORBHelper.ORBInfo orbInfo
factory
protected devsBridge.DevsFactory factory
InitializableAtomicCorbaFactory
public InitializableAtomicCorbaFactory(ORBHelper.ORBInfo orbInfo,
java.lang.String corbaLoc,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans,
java.lang.String params)
throws org.omg.CORBA.UserException
- constructs a new proxy for the DevsModel obtained from the factory
- Parameters:
name
- local name of the atomic modelorb
- Object Request Broker(ORB) to locate the servercorbaLoc
- location of the object of the form "corbaname::"+host+":"+port+"#"+servernamea Corba name of the formmodelName
- the fully qualified classname of the devs-model class at the factory sidetranslatorName
- the fully qualified classname of the translator class at the factory sidetimeoutHours
- a timeout when the CORBA-object can be destructedtrans
- the Translator on the client side
- Throws:
org.omg.CORBA.UserException
- on errors on CORBA
InitializableAtomicCorbaFactory
public InitializableAtomicCorbaFactory(ORBHelper.ORBInfo orbInfo,
java.lang.String host,
int port,
java.lang.String factoryName,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans,
java.lang.String params)
throws org.omg.CORBA.UserException
- constructs a new proxy for the DevsModel obtained from the factory
- Parameters:
name
- local name of the atomic modelorb
- Object Request Broker(ORB) to locate the serverhost
- IP or name of the hostport
- port at which to find the ORB naming servicefactoryName
- the name of the DevsFactoryServermodelName
- the fully qualified classname of the devs-model class at the factory sidetranslatorName
- the fully qualified classname of the translator class at the factory sidetimeoutHours
- a timeout when the CORBA-object can be destructedtrans
- the Translator on the client side
- Throws:
org.omg.CORBA.UserException
- on errors on CORBA
destruct
public void destruct()
throws org.omg.CORBA.UserException,
devsBridge.DevsCorbaException
- Throws:
org.omg.CORBA.UserException
devsBridge.DevsCorbaException
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
deltext
public void deltext(double arg0,
genDevs.modeling.MessageInterface arg0)
deltcon
public void deltcon(double arg0,
genDevs.modeling.MessageInterface arg0)
deltint
public void deltint()
Out
public genDevs.modeling.MessageInterface Out()
ta
public double ta()
initialize
public void initialize()
showState
public void showState()