genDevs.devsBridge.proxy
Class ViewableAtomicCorbaFactory
java.lang.Object
GenCol.entity
genDevs.modeling.devs
genDevs.modeling.atomic
simView.ViewableAtomic
genDevs.devsBridge.proxy.ViewableAtomicDevs
genDevs.devsBridge.proxy.ViewableAtomicCorbaFactory
- All Implemented Interfaces:
- GenCol.EntityInterface, DevsPortsI, genDevs.modeling.IOBasicDevs, genDevs.modeling.IODevs, simView.ViewableComponent
public class ViewableAtomicCorbaFactory
- extends ViewableAtomicDevs
proxy for the devsModel which is obtained from a DevsFactory
which located at specified CorbaLoc
- Author:
- twutz
Field Summary |
protected org.omg.CORBA.ORB |
orb
|
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 |
ViewableAtomicCorbaFactory(org.omg.CORBA.ORB orb,
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)
constructs a new proxy for the DevsModel obtained from the factory |
ViewableAtomicCorbaFactory(org.omg.CORBA.ORB orb,
java.lang.String corbaLoc,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans)
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, finalize, 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 |
orb
protected org.omg.CORBA.ORB orb
ViewableAtomicCorbaFactory
public ViewableAtomicCorbaFactory(org.omg.CORBA.ORB orb,
java.lang.String corbaLoc,
java.lang.String modelName,
java.lang.String translatorName,
int timeoutHours,
java.lang.String name,
MessageTranslator trans)
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
ViewableAtomicCorbaFactory
public ViewableAtomicCorbaFactory(org.omg.CORBA.ORB orb,
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)
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
ta
public double ta()
showState
public void showState()