|
|||||||||||
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.jini.JiniBodyImpl_Stub
Field Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
JiniBodyImpl_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 jini 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 JiniBodyImpl_Stub(java.rmi.server.RemoteRef)
Method Detail |
public void disableAC() throws java.io.IOException
JiniBody
disableAC
in interface JiniBody
java.io.IOException
public void enableAC() throws java.io.IOException
JiniBody
enableAC
in interface JiniBody
java.io.IOException
public java.security.cert.X509Certificate getCertificate() throws java.io.IOException, SecurityNotAvailableException
getCertificate
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public byte[] getCertificateEncoded() throws java.io.IOException, SecurityNotAvailableException
getCertificateEncoded
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public java.util.ArrayList getEntities() throws java.io.IOException, SecurityNotAvailableException
getEntities
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public UniqueID getID() throws java.rmi.RemoteException
JiniBody
getID
in interface JiniBody
java.rmi.RemoteException
- if an exception occured during the jini communicationpublic java.lang.String getNodeURL() throws java.rmi.RemoteException
JiniBody
getNodeURL
in interface JiniBody
java.rmi.RemoteException
- if an exception occured during the jini communicationpublic SecurityContext getPolicy(SecurityContext) throws java.io.IOException, SecurityNotAvailableException
getPolicy
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public Policy getPolicyFrom(java.security.cert.X509Certificate) throws java.io.IOException, SecurityNotAvailableException
getPolicyFrom
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public Communication getPolicyTo(java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException, SecurityNotAvailableException
getPolicyTo
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public ProActiveSecurityManager getProActiveSecurityManager() throws java.io.IOException, SecurityNotAvailableException
getProActiveSecurityManager
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public java.security.PublicKey getPublicKey() throws java.io.IOException, SecurityNotAvailableException
getPublicKey
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public java.lang.String getVNName() throws java.io.IOException, SecurityNotAvailableException
getVNName
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public void initiateSession(int, UniversalBody) throws java.io.IOException, java.rmi.RemoteException, CommunicationForbiddenException, RenegotiateSessionException, SecurityNotAvailableException, AuthenticationException
initiateSession
in interface JiniBody
java.io.IOException
java.rmi.RemoteException
CommunicationForbiddenException
RenegotiateSessionException
SecurityNotAvailableException
AuthenticationException
public ConfidentialityTicket negociateKeyReceiverSide(ConfidentialityTicket, long) throws java.io.IOException, SecurityNotAvailableException, KeyExchangeException
negociateKeyReceiverSide
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
KeyExchangeException
public byte[][] publicKeyExchange(long, UniversalBody, byte[], byte[], byte[]) throws java.lang.Exception, SecurityNotAvailableException
publicKeyExchange
in interface JiniBody
java.lang.Exception
SecurityNotAvailableException
public byte[] randomValue(long, byte[]) throws java.lang.Exception, SecurityNotAvailableException
randomValue
in interface JiniBody
java.lang.Exception
SecurityNotAvailableException
public void receiveReply(Reply) throws java.io.IOException
JiniBody
receiveReply
in interface JiniBody
java.io.IOException
- if the reply cannot be acceptedpublic void receiveRequest(Request) throws java.io.IOException, RenegotiateSessionException
JiniBody
receiveRequest
in interface JiniBody
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 JiniBody
java.lang.Exception
SecurityNotAvailableException
public void setImmediateService(java.lang.String) throws java.io.IOException
JiniBody
setImmediateService
in interface JiniBody
java.io.IOException
public long startNewSession(Communication) throws java.io.IOException, RenegotiateSessionException, SecurityNotAvailableException
startNewSession
in interface JiniBody
java.io.IOException
RenegotiateSessionException
SecurityNotAvailableException
public void terminateSession(long) throws java.io.IOException, SecurityNotAvailableException
terminateSession
in interface JiniBody
java.io.IOException
SecurityNotAvailableException
public void updateLocation(UniqueID, UniversalBody) throws java.io.IOException
JiniBody
updateLocation
in interface JiniBody
- the id of the body
- the stub to the new location
java.io.IOException
- if an exception occured during the jini communication
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |