All Packages Class Hierarchy This Package Previous Next Index
Class replica.AccessRemoteTransmitROR
java.lang.Object
|
+----replica.AccessTransmitStrategy
|
+----replica.AccessRemoteTransmitROR
- public class AccessRemoteTransmitROR
- extends AccessTransmitStrategy
This class is the Strategy-Object for a Client-Stub
- Version:
- 1.0
- Author:
- Markus Jäger
- See Also:
- AccessControlObject
-
AccessRemoteTransmitROR(RemoteObjectReference)
- Used to construct the client stub for a Remote-Object.
-
acpuireLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
callMethod(Object, EventDescMethodCall)
- This method is only important if you want to add your own replication strategy.
-
doFinalInit(AccessControlObject, Object, UniqueID)
- This method is only important if you want to add your own replication strategy.
-
getObjectID()
-
This method is only important if you want to add your own replication strategy.
-
registerForMethodCalls()
- This method is only important if you want to add your own replication strategy.
-
registerForObjectLock()
- This method is only important if you want to add your own replication strategy.
-
releaseLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
transmitObject(ObjectTransmissionControl, Object)
-
This method is only important if you want to add your own replication strategy.
AccessRemoteTransmitROR
public AccessRemoteTransmitROR(RemoteObjectReference newRemoteRef)
- Used to construct the client stub for a Remote-Object.
- Parameters:
- newRemoteRef - ID of the Remote-Object.
registerForMethodCalls
protected boolean registerForMethodCalls()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForMethodCalls in class AccessTransmitStrategy
registerForObjectLock
protected boolean registerForObjectLock()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForObjectLock in class AccessTransmitStrategy
doFinalInit
protected void doFinalInit(AccessControlObject newControl,
Object obj,
UniqueID newID)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- doFinalInit in class AccessTransmitStrategy
getObjectID
protected RemoteObjectReference getObjectID()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- getObjectID in class AccessTransmitStrategy
transmitObject
protected void transmitObject(ObjectTransmissionControl tCont,
Object obj) throws IOException
- This method is only important if you want to add your own replication strategy.
- Throws: IOException
- Thrown if the Object could not be transmitted.
- Overrides:
- transmitObject in class AccessTransmitStrategy
callMethod
protected Object callMethod(Object o,
EventDescMethodCall event) throws Throwable
- This method is only important if you want to add your own replication strategy.
- Throws: Throwable
- Exception of the invocation
- Overrides:
- callMethod in class AccessTransmitStrategy
acpuireLock
protected void acpuireLock(Object o,
EventDescObjectLock event) throws RemoteAccessException
- This method is only important if you want to add your own replication strategy.
- Throws: RemoteAccessException
- Thrown if the Remote-Object could not be locked.
- Overrides:
- acpuireLock in class AccessTransmitStrategy
releaseLock
protected void releaseLock(Object o,
EventDescObjectLock event) throws RemoteAccessException
- This method is only important if you want to add your own replication strategy.
- Throws: RemoteAccessException
- Thrown if the Remote-Object could not be unlocked.
- Overrides:
- releaseLock in class AccessTransmitStrategy
All Packages Class Hierarchy This Package Previous Next Index