org.objectweb.proactive.core.body
Class ActiveBody
java.lang.Object
|
+--org.objectweb.proactive.core.body.AbstractUniversalBody
|
+--org.objectweb.proactive.core.body.AbstractBody
|
+--org.objectweb.proactive.core.body.BodyImpl
|
+--org.objectweb.proactive.core.component.body.ComponentBodyImpl
|
+--org.objectweb.proactive.core.body.migration.MigratableBody
|
+--org.objectweb.proactive.core.body.ActiveBody
- All Implemented Interfaces:
- Body, ComponentBody, Job, LocalBodyStrategy, MessageEventProducer, Migratable, java.lang.Runnable, java.io.Serializable, UniversalBody
- public class ActiveBody
- extends MigratableBody
- implements java.lang.Runnable, java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Method Summary |
protected void |
activityStopped()
Signals that the activity of this body, managed by the active thread has just stopped. |
void |
run()
The method executed by the active thread that will eventually launch the live
method of the active object of the default live method of this body. |
protected void |
startBody()
Creates the active thread and start it using this runnable body. |
Methods inherited from class org.objectweb.proactive.core.body.AbstractBody |
acceptCommunication, blockCommunication, checkNewLocation, disableAC, enableAC, enterInThreadStore, exitFromThreadStore, getCertificate, getCertificateEncoded, getEntities, getFuturePool, getName, getPolicy, getPolicyFrom, getPolicyTo, getProActiveSecurityManager, getPublicKey, getReifiedObject, getRequestQueue, getSPMDGroup, getVNName, initiateSession, isActive, isAlive, negociateKeyReceiverSide, publicKeyExchange, randomValue, receiveReply, receiveRequest, renegociateSessionIfNeeded, secretKeyExchange, sendRequest, serve, setLocalBodyImpl, setSPMDGroup, startDefaultProActiveSecurityManager, startNewSession, terminate, terminateSession, test, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
ActiveBody
public ActiveBody()
- Doesn't build anything, just for having one no-arg constructor
ActiveBody
public ActiveBody(ConstructorCall c,
java.lang.String nodeURL,
Active activity,
MetaObjectFactory factory,
java.lang.String jobID)
throws java.lang.reflect.InvocationTargetException,
ConstructorCallExecutionFailedException
- Build the body object, then fires its service thread
run
public void run()
- The method executed by the active thread that will eventually launch the live
method of the active object of the default live method of this body.
- Specified by:
run
in interface java.lang.Runnable
startBody
protected void startBody()
- Creates the active thread and start it using this runnable body.
activityStopped
protected void activityStopped()
- Signals that the activity of this body, managed by the active thread has just stopped.
- Overrides:
activityStopped
in class BodyImpl
Copyright © April 2004 INRIA All Rights Reserved.