|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.body.AbstractUniversalBody
org.objectweb.proactive.core.body.AbstractBody
org.objectweb.proactive.core.body.HalfBody
Field Summary |
Fields inherited from class org.objectweb.proactive.core.body.AbstractBody |
ftmanager, internalBodySecurity, isInterfaceSecureImplemented, isSecurityOn, localBodyStrategy, openedSessions, psm, spmdManager, threadStore |
Fields inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody |
bodyID, jobID, location, nodeURL, remoteBody, remoteBodyFactory, shortcuts |
Fields inherited from interface org.objectweb.proactive.core.body.UniversalBody |
bodyLogger |
Method Summary | |
void |
addMessageEventListener(MessageEventListener listener)
Adds a listener of MessageEvent to this body. |
void |
addNFEListener(NFEListener listener)
|
int |
fireNFE(NonFunctionalException e)
|
static HalfBody |
getHalfBody(MetaObjectFactory factory)
|
java.lang.String |
getJobID()
|
protected int |
internalReceiveReply(Reply reply)
Receives a reply in response to a former request. |
protected int |
internalReceiveRequest(Request request)
Receives a request for later processing. |
void |
removeImmediateService(java.lang.String methodName,
java.lang.Class[] parametersTypes)
Removes an immediate service for this body An immediate service is a method that will bw excecuted by the calling thread. |
void |
removeMessageEventListener(MessageEventListener listener)
Removes the MessageEventListener from this body. |
void |
removeNFEListener(NFEListener listener)
|
void |
setImmediateService(java.lang.String methodName)
For setting an immediate service for this body. |
void |
setImmediateService(java.lang.String methodName,
java.lang.Class[] parametersTypes)
Adds an immediate service for this body An immediate service is a method that will bw excecuted by the calling thread. |
void |
updateNodeURL(java.lang.String newNodeURL)
Set the nodeURL of this body |
Methods inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody |
createShortcut, getID, getNodeURL, getRemoteAdapter, updateLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.body.UniversalBody |
createShortcut, getID, getNodeURL, getRemoteAdapter, updateLocation |
Method Detail |
public static HalfBody getHalfBody(MetaObjectFactory factory)
public void addMessageEventListener(MessageEventListener listener)
MessageEventProducer
listener
- the listener to addpublic void removeMessageEventListener(MessageEventListener listener)
MessageEventProducer
listener
- the listener to removeprotected int internalReceiveRequest(Request request) throws java.io.IOException
internalReceiveRequest
in class AbstractBody
request
- the request to process
java.io.IOException
- if the request cannot be acceptedprotected int internalReceiveReply(Reply reply) throws java.io.IOException
internalReceiveReply
in class AbstractBody
reply
- the reply received
java.io.IOException
- if the reply cannot be acceptedpublic void setImmediateService(java.lang.String methodName)
UniversalBody
public void setImmediateService(java.lang.String methodName, java.lang.Class[] parametersTypes)
UniversalBody
methodName
- the name of the methodparametersTypes
- the types of the parameters of the methodpublic void removeImmediateService(java.lang.String methodName, java.lang.Class[] parametersTypes)
UniversalBody
methodName
- the name of the methodparametersTypes
- the types of the parameters of the methodpublic java.lang.String getJobID()
getJobID
in interface Job
getJobID
in class AbstractUniversalBody
Job.getJobID()
public void updateNodeURL(java.lang.String newNodeURL)
Body
newNodeURL
- the new URL of the nodepublic void addNFEListener(NFEListener listener)
addNFEListener
in interface NFEProducer
addNFEListener
in class AbstractUniversalBody
public void removeNFEListener(NFEListener listener)
removeNFEListener
in interface NFEProducer
removeNFEListener
in class AbstractUniversalBody
public int fireNFE(NonFunctionalException e)
fireNFE
in interface NFEProducer
fireNFE
in class AbstractUniversalBody
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |