All Packages Class Hierarchy This Package Previous Next Index
Class replica.AccessLocalTransmitROR
java.lang.Object
|
+----replica.AccessTransmitStrategy
|
+----replica.AccessLocalTransmitROR
- public class AccessLocalTransmitROR
- extends AccessTransmitStrategy
This class is the Strategy-Object for a Remote-Object
- Version:
- 1.0
- Author:
- Markus Jäger
- See Also:
- AccessControlObject
-
AccessLocalTransmitROR()
-
Used to construct the server 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.
-
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.
AccessLocalTransmitROR
public AccessLocalTransmitROR()
- Used to construct the server stub for a Remote-Object.
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
registerForObjectLock
protected boolean registerForObjectLock()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForObjectLock 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 synchronized 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 synchronized 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