|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteStub | +--org.objectweb.proactive.core.body.rmi.RemoteBodyImpl_Stub
Field Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
RemoteBodyImpl_Stub(java.rmi.server.RemoteRef)
|
Method Summary | |
void |
disableAC()
Disables automatic continuation mechanism for this body |
void |
enableAC()
Enables automatic continuation mechanism for this body |
java.security.cert.X509Certificate |
getCertificate()
|
byte[] |
getCertificateEncoded()
|
java.util.ArrayList |
getEntities()
|
UniqueID |
getID()
Returns the UniqueID of this body This identifier is unique accross all JVMs |
java.lang.String |
getNodeURL()
Returns the url of the node this body is associated to The url of the node can change if the active object migrates |
SecurityContext |
getPolicy(SecurityContext)
|
Policy |
getPolicyFrom(java.security.cert.X509Certificate)
|
Communication |
getPolicyTo(java.lang.String,
java.lang.String,
java.lang.String)
|
ProActiveSecurityManager |
getProActiveSecurityManager()
|
java.security.PublicKey |
getPublicKey()
|
java.lang.String |
getVNName()
|
void |
initiateSession(int,
UniversalBody)
|
ConfidentialityTicket |
negociateKeyReceiverSide(ConfidentialityTicket,
long)
|
byte[][] |
publicKeyExchange(long,
UniversalBody,
byte[],
byte[],
byte[])
|
byte[] |
randomValue(long,
byte[])
|
void |
receiveReply(Reply)
Receives a reply in response to a former request. |
void |
receiveRequest(Request)
Receives a request for later processing. |
byte[][] |
secretKeyExchange(long,
byte[],
byte[],
byte[],
byte[],
byte[])
|
void |
setImmediateService(java.lang.String)
For setting an immediate service for this body. |
long |
startNewSession(Communication)
|
void |
terminateSession(long)
|
void |
updateLocation(UniqueID,
UniversalBody)
Signals to this body that the body identified by id is now to a new remote location. |
Methods inherited from class java.rmi.server.RemoteStub |
setRef |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RemoteBodyImpl_Stub(java.rmi.server.RemoteRef)
Method Detail |
public void disableAC() throws java.io.IOException
RemoteBody
disableAC
in interface RemoteBody
java.io.IOException
public void enableAC() throws java.io.IOException
RemoteBody
enableAC
in interface RemoteBody
java.io.IOException
public java.security.cert.X509Certificate getCertificate() throws java.io.IOException, SecurityNotAvailableException
getCertificate
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public byte[] getCertificateEncoded() throws java.io.IOException, SecurityNotAvailableException
getCertificateEncoded
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public java.util.ArrayList getEntities() throws java.io.IOException, SecurityNotAvailableException
getEntities
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public UniqueID getID() throws java.rmi.RemoteException
RemoteBody
getID
in interface RemoteBody
java.rmi.RemoteException
- if an exception occured during the remote communicationpublic java.lang.String getNodeURL() throws java.rmi.RemoteException
RemoteBody
getNodeURL
in interface RemoteBody
java.rmi.RemoteException
- if an exception occured during the remote communicationpublic SecurityContext getPolicy(SecurityContext) throws java.io.IOException, SecurityNotAvailableException
getPolicy
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public Policy getPolicyFrom(java.security.cert.X509Certificate) throws java.io.IOException, SecurityNotAvailableException
getPolicyFrom
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public Communication getPolicyTo(java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException, SecurityNotAvailableException
getPolicyTo
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public ProActiveSecurityManager getProActiveSecurityManager() throws java.io.IOException, SecurityNotAvailableException
getProActiveSecurityManager
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public java.security.PublicKey getPublicKey() throws java.io.IOException, SecurityNotAvailableException
getPublicKey
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public java.lang.String getVNName() throws java.io.IOException, SecurityNotAvailableException
getVNName
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public void initiateSession(int, UniversalBody) throws java.io.IOException, CommunicationForbiddenException, RenegotiateSessionException, SecurityNotAvailableException, AuthenticationException
initiateSession
in interface RemoteBody
java.io.IOException
CommunicationForbiddenException
RenegotiateSessionException
SecurityNotAvailableException
AuthenticationException
public ConfidentialityTicket negociateKeyReceiverSide(ConfidentialityTicket, long) throws java.io.IOException, SecurityNotAvailableException, KeyExchangeException
negociateKeyReceiverSide
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
KeyExchangeException
public byte[][] publicKeyExchange(long, UniversalBody, byte[], byte[], byte[]) throws java.lang.Exception, SecurityNotAvailableException
publicKeyExchange
in interface RemoteBody
java.lang.Exception
SecurityNotAvailableException
public byte[] randomValue(long, byte[]) throws java.lang.Exception, SecurityNotAvailableException
randomValue
in interface RemoteBody
java.lang.Exception
SecurityNotAvailableException
public void receiveReply(Reply) throws java.io.IOException
RemoteBody
receiveReply
in interface RemoteBody
java.io.IOException
- if the reply cannot be acceptedpublic void receiveRequest(Request) throws java.io.IOException, RenegotiateSessionException
RemoteBody
receiveRequest
in interface RemoteBody
java.io.IOException
- if the request cannot be accepted
RenegotiateSessionException
public byte[][] secretKeyExchange(long, byte[], byte[], byte[], byte[], byte[]) throws java.lang.Exception, SecurityNotAvailableException
secretKeyExchange
in interface RemoteBody
java.lang.Exception
SecurityNotAvailableException
public void setImmediateService(java.lang.String) throws java.io.IOException
RemoteBody
setImmediateService
in interface RemoteBody
java.io.IOException
public long startNewSession(Communication) throws java.io.IOException, RenegotiateSessionException, SecurityNotAvailableException
startNewSession
in interface RemoteBody
java.io.IOException
RenegotiateSessionException
SecurityNotAvailableException
public void terminateSession(long) throws java.io.IOException, SecurityNotAvailableException
terminateSession
in interface RemoteBody
java.io.IOException
SecurityNotAvailableException
public void updateLocation(UniqueID, UniversalBody) throws java.io.IOException
RemoteBody
updateLocation
in interface RemoteBody
- the id of the body
- the stub to the new location
java.io.IOException
- if an exception occured during the remote communication
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |