|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.UCL.satin.arch.components.Component
edu.UCL.satin.arch.components.Reflective
edu.UCL.satin.arch.components.Deployer
edu.UCL.satin.impl.MiToolkitDeployer.MiToolkitDeployer
Field Summary | |
private static int |
_PORT
|
private static int |
_QUERYPORT
|
private boolean |
ccc
|
private DebugFacet |
debug
|
private boolean |
enabled
|
private MiServer |
server
|
Fields inherited from class edu.UCL.satin.arch.components.Reflective |
ACCEPT, FAIL, HANDLER_INSTANTIATION, PARTIAL_ACCEPT, REJECT |
Fields inherited from class edu.UCL.satin.arch.components.Component |
immutable, properties |
Fields inherited from interface mitoolkit.core.ClassClosureConstants |
DECLARED, DECLAREDCLOSURE, FULLCLOSURE, NONE, REFERENCED, ROOT |
Fields inherited from interface mitoolkit.core.ObjectClosureConstants |
OBJECT_DECLARED, OBJECT_DECLAREDCLOSURE, OBJECT_FULLCLOSURE, OBJECT_NONE, OBJECT_REFERENCED, OBJECT_ROOT |
Fields inherited from interface edu.UCL.satin.arch.facets.ComponentFacet |
DISABLED, ENABLED |
Constructor Summary | |
MiToolkitDeployer()
|
Method Summary | |
short |
acceptLMU(LMU lmu)
Allows the Reflective component to inspect a given LMU and receive parts of it |
void |
addUbiquitousClass(java.lang.String c)
Denotes a class to be ubiquitous - This means that this class is assumed to be on all SATIN hosts and will not be sent by the deployer. |
void |
addUbiquitousPackage(java.lang.String p)
Denotes that all classes in the given package (and all subpackages) are ubiquitous. |
void |
asyncReceive(RemoteComponent c,
Reflective r)
|
void |
asyncSend(LMU lmu)
Sends asynchronously the given LMU to a remote host. |
boolean |
calculatingClosure()
Checks whether the class closure is being calculated when sending an LMU. |
java.lang.Object |
getMessage()
|
boolean |
isEnabled()
Checks whether this component is enabled or not. |
void |
newObject(java.lang.Object o,
java.lang.Class c)
|
LMU |
receive(RemoteComponent c)
|
void |
run()
|
boolean |
send(LMU lmu)
Sends the given LMU to a remote host. |
void |
setClassClosureCalculation(boolean enabled)
Enables or disables the dynamic class closure calculation engine. |
void |
setEnabled(boolean enabled)
Enables or disables the component |
Methods inherited from class edu.UCL.satin.arch.components.Component |
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute, match, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.UCL.satin.arch.facets.ComponentFacet |
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute |
Field Detail |
private boolean ccc
private boolean enabled
private MiServer server
private static final int _PORT
private static final int _QUERYPORT
private DebugFacet debug
Constructor Detail |
public MiToolkitDeployer()
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void addUbiquitousClass(java.lang.String c)
DeployerFacet
addUbiquitousClass
in interface DeployerFacet
c
- The ubiquitous class.public void addUbiquitousPackage(java.lang.String p)
DeployerFacet
addUbiquitousPackage
in interface DeployerFacet
p
- The package with the ubituitous classespublic short acceptLMU(LMU lmu)
Reflective
acceptLMU
in class Deployer
public boolean send(LMU lmu)
Deployer
send
in interface DeployerFacet
send
in class Deployer
lmu
- The LMU to be sent
public void asyncSend(LMU lmu)
Deployer
asyncSend
in interface DeployerFacet
asyncSend
in class Deployer
lmu
- The lmu to be sentpublic LMU receive(RemoteComponent c)
public void asyncReceive(RemoteComponent c, Reflective r)
public boolean isEnabled()
ComponentFacet
isEnabled
in interface ComponentFacet
isEnabled
in class Component
public void setEnabled(boolean enabled)
ComponentFacet
setEnabled
in interface ComponentFacet
setEnabled
in class Component
enabled
- public java.lang.Object getMessage()
public void newObject(java.lang.Object o, java.lang.Class c)
newObject
in interface ObjectListener
public void setClassClosureCalculation(boolean enabled)
public boolean calculatingClosure()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |