org.objectweb.proactive.core.body
Interface UniversalBodyForwarder
- All Known Implementing Classes:
- BodyForwarderImpl
- public interface UniversalBodyForwarder
- Author:
- ProActive Team
Field Summary |
static org.apache.log4j.Logger |
bodyLogger
|
Method Summary |
void |
addNFEListener(UniqueID id,
NFEListener listener)
|
void |
changeProxiedBody(UniqueID id,
Body newBody)
|
void |
createShortcut(UniqueID id,
Shortcut shortcut)
|
void |
disableAC(UniqueID id)
|
void |
enableAC(UniqueID id)
|
int |
fireNFE(UniqueID id,
NonFunctionalException e)
|
java.security.cert.X509Certificate |
getCertificate(UniqueID id)
|
byte[] |
getCertificateEncoded(UniqueID id)
|
java.util.ArrayList |
getEntities(UniqueID id)
|
UniqueID |
getID(UniqueID id)
|
java.lang.String |
getJobID(UniqueID id)
|
java.lang.String |
getNodeURL(UniqueID id)
|
SecurityContext |
getPolicy(UniqueID id,
SecurityContext securityContext)
|
java.security.PublicKey |
getPublicKey(UniqueID id)
|
BodyAdapter |
getRemoteAdapter(UniqueID id)
|
UniversalBody |
lookup(UniqueID id,
java.lang.String url)
|
byte[][] |
publicKeyExchange(UniqueID id,
long sessionID,
byte[] myPublicKey,
byte[] myCertificate,
byte[] signature)
|
byte[] |
randomValue(UniqueID id,
long sessionID,
byte[] clientRandomValue)
|
java.lang.Object |
receiveFTMessage(UniqueID id,
FTMessage ev)
|
int |
receiveReply(UniqueID id,
Reply r)
|
int |
receiveRequest(UniqueID id,
Request request)
|
void |
register(UniqueID id,
java.lang.String url)
|
void |
removeImmediateService(UniqueID id,
java.lang.String methodName,
java.lang.Class[] parametersTypes)
|
void |
removeNFEListener(UniqueID id,
NFEListener listener)
|
byte[][] |
secretKeyExchange(UniqueID id,
long sessionID,
byte[] encodedAESKey,
byte[] encodedIVParameters,
byte[] encodedClientMacKey,
byte[] encodedLockData,
byte[] parametersSignature)
|
void |
setImmediateService(UniqueID id,
java.lang.String methodName)
|
void |
setImmediateService(UniqueID id,
java.lang.String methodName,
java.lang.Class[] parametersTypes)
|
long |
startNewSession(UniqueID id,
Communication policy)
|
void |
terminate(UniqueID id)
|
void |
terminateSession(UniqueID id,
long sessionID)
|
void |
unregister(UniqueID id,
java.lang.String url)
|
void |
updateLocation(UniqueID id,
UniqueID uid,
UniversalBody body)
|
bodyLogger
public static final org.apache.log4j.Logger bodyLogger
receiveRequest
public int receiveRequest(UniqueID id,
Request request)
throws java.io.IOException,
RenegotiateSessionException
- Throws:
java.io.IOException
RenegotiateSessionException
receiveReply
public int receiveReply(UniqueID id,
Reply r)
throws java.io.IOException
- Throws:
java.io.IOException
getNodeURL
public java.lang.String getNodeURL(UniqueID id)
getID
public UniqueID getID(UniqueID id)
updateLocation
public void updateLocation(UniqueID id,
UniqueID uid,
UniversalBody body)
throws java.io.IOException
- Throws:
java.io.IOException
createShortcut
public void createShortcut(UniqueID id,
Shortcut shortcut)
throws java.io.IOException
- Throws:
java.io.IOException
getRemoteAdapter
public BodyAdapter getRemoteAdapter(UniqueID id)
terminate
public void terminate(UniqueID id)
throws java.io.IOException
- Throws:
java.io.IOException
enableAC
public void enableAC(UniqueID id)
throws java.io.IOException
- Throws:
java.io.IOException
disableAC
public void disableAC(UniqueID id)
throws java.io.IOException
- Throws:
java.io.IOException
setImmediateService
public void setImmediateService(UniqueID id,
java.lang.String methodName)
throws java.io.IOException
- Throws:
java.io.IOException
setImmediateService
public void setImmediateService(UniqueID id,
java.lang.String methodName,
java.lang.Class[] parametersTypes)
throws java.io.IOException
- Throws:
java.io.IOException
removeImmediateService
public void removeImmediateService(UniqueID id,
java.lang.String methodName,
java.lang.Class[] parametersTypes)
throws java.io.IOException
- Throws:
java.io.IOException
getCertificate
public java.security.cert.X509Certificate getCertificate(UniqueID id)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
startNewSession
public long startNewSession(UniqueID id,
Communication policy)
throws SecurityNotAvailableException,
RenegotiateSessionException,
java.io.IOException
- Throws:
SecurityNotAvailableException
RenegotiateSessionException
java.io.IOException
getPublicKey
public java.security.PublicKey getPublicKey(UniqueID id)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
randomValue
public byte[] randomValue(UniqueID id,
long sessionID,
byte[] clientRandomValue)
throws SecurityNotAvailableException,
RenegotiateSessionException,
java.io.IOException
- Throws:
SecurityNotAvailableException
RenegotiateSessionException
java.io.IOException
publicKeyExchange
public byte[][] publicKeyExchange(UniqueID id,
long sessionID,
byte[] myPublicKey,
byte[] myCertificate,
byte[] signature)
throws SecurityNotAvailableException,
RenegotiateSessionException,
KeyExchangeException,
java.io.IOException
- Throws:
SecurityNotAvailableException
RenegotiateSessionException
KeyExchangeException
java.io.IOException
secretKeyExchange
public byte[][] secretKeyExchange(UniqueID id,
long sessionID,
byte[] encodedAESKey,
byte[] encodedIVParameters,
byte[] encodedClientMacKey,
byte[] encodedLockData,
byte[] parametersSignature)
throws SecurityNotAvailableException,
RenegotiateSessionException,
java.io.IOException
- Throws:
SecurityNotAvailableException
RenegotiateSessionException
java.io.IOException
getPolicy
public SecurityContext getPolicy(UniqueID id,
SecurityContext securityContext)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
getCertificateEncoded
public byte[] getCertificateEncoded(UniqueID id)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
getEntities
public java.util.ArrayList getEntities(UniqueID id)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
terminateSession
public void terminateSession(UniqueID id,
long sessionID)
throws SecurityNotAvailableException,
java.io.IOException
- Throws:
SecurityNotAvailableException
java.io.IOException
receiveFTMessage
public java.lang.Object receiveFTMessage(UniqueID id,
FTMessage ev)
throws java.io.IOException
- Throws:
java.io.IOException
getJobID
public java.lang.String getJobID(UniqueID id)
throws java.io.IOException
- Throws:
java.io.IOException
addNFEListener
public void addNFEListener(UniqueID id,
NFEListener listener)
throws java.io.IOException
- Throws:
java.io.IOException
removeNFEListener
public void removeNFEListener(UniqueID id,
NFEListener listener)
throws java.io.IOException
- Throws:
java.io.IOException
fireNFE
public int fireNFE(UniqueID id,
NonFunctionalException e)
throws java.io.IOException
- Throws:
java.io.IOException
changeProxiedBody
public void changeProxiedBody(UniqueID id,
Body newBody)
throws java.io.IOException
- Throws:
java.io.IOException
lookup
public UniversalBody lookup(UniqueID id,
java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
register
public void register(UniqueID id,
java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
unregister
public void unregister(UniqueID id,
java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 2001-2005 INRIA All Rights Reserved.