All Packages Class Hierarchy This Package Previous Next Index
Class replica.MultiAccessRemoteTransmitROR
java.lang.Object
|
+----replica.AccessTransmitStrategy
|
+----replica.MultiAccessRemoteTransmitROR
- public class MultiAccessRemoteTransmitROR
- extends AccessTransmitStrategy
This class is the Strategy-Object for a multiple Client-Stub
- Version:
- 1.0
- Author:
- Markus Jäger
- See Also:
- AccessControlObject
-
MultiAccessRemoteTransmitROR()
- Create a multi stub.
-
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.
-
containsROR(RemoteObjectReference)
- This method is used to determin weather the methods are
called at a specific Remote-Object.
-
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.
-
getOneROR()
- This method is used to retrieve one Remote-Object.
-
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.
-
registerRemoteObject(RemoteObjectReference)
- This method is used to add a Remote-Object on which the methods are called.
-
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.
-
unregisterRemoteObject(RemoteObjectReference)
- This method is used to remove a Remote-Object on which the methods are called.
MultiAccessRemoteTransmitROR
public MultiAccessRemoteTransmitROR()
- Create a multi stub.
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
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
transmitObject
protected synchronized 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 synchronized 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)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- acpuireLock in class AccessTransmitStrategy
releaseLock
protected synchronized void releaseLock(Object o,
EventDescObjectLock event)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- releaseLock in class AccessTransmitStrategy
registerRemoteObject
public synchronized void registerRemoteObject(RemoteObjectReference remRef)
- This method is used to add a Remote-Object on which the methods are called.
- Parameters:
- remRef - The unique ID of the new Remote-Object
unregisterRemoteObject
public synchronized void unregisterRemoteObject(RemoteObjectReference remRef)
- This method is used to remove a Remote-Object on which the methods are called.
- Parameters:
- remRef - The unique ID of the Remote-Object to remove
containsROR
public synchronized boolean containsROR(RemoteObjectReference remRef)
- This method is used to determin weather the methods are
called at a specific Remote-Object.
- Parameters:
- remRef - The unique ID of the Remote-Object
getOneROR
public synchronized RemoteObjectReference getOneROR()
- This method is used to retrieve one Remote-Object.
- Returns:
- The unique ID of a Remote-Object
All Packages Class Hierarchy This Package Previous Next Index