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

Constructor Index

 o MultiAccessRemoteTransmitROR()
Create a multi stub.

Method Index

 o acpuireLock(Object, EventDescObjectLock)
This method is only important if you want to add your own replication strategy.
 o callMethod(Object, EventDescMethodCall)
This method is only important if you want to add your own replication strategy.
 o containsROR(RemoteObjectReference)
This method is used to determin weather the methods are called at a specific Remote-Object.
 o doFinalInit(AccessControlObject, Object, UniqueID)
This method is only important if you want to add your own replication strategy.
 o getObjectID()
This method is only important if you want to add your own replication strategy.
 o getOneROR()
This method is used to retrieve one Remote-Object.
 o registerForMethodCalls()
This method is only important if you want to add your own replication strategy.
 o registerForObjectLock()
This method is only important if you want to add your own replication strategy.
 o registerRemoteObject(RemoteObjectReference)
This method is used to add a Remote-Object on which the methods are called.
 o releaseLock(Object, EventDescObjectLock)
This method is only important if you want to add your own replication strategy.
 o transmitObject(ObjectTransmissionControl, Object)
This method is only important if you want to add your own replication strategy.
 o unregisterRemoteObject(RemoteObjectReference)
This method is used to remove a Remote-Object on which the methods are called.

Constructors

 o MultiAccessRemoteTransmitROR
 public MultiAccessRemoteTransmitROR()
Create a multi stub.

Methods

 o 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
 o getObjectID
 protected RemoteObjectReference getObjectID()
This method is only important if you want to add your own replication strategy.

Overrides:
getObjectID in class AccessTransmitStrategy
 o registerForMethodCalls
 protected boolean registerForMethodCalls()
This method is only important if you want to add your own replication strategy.

Overrides:
registerForMethodCalls in class AccessTransmitStrategy
 o registerForObjectLock
 protected boolean registerForObjectLock()
This method is only important if you want to add your own replication strategy.

Overrides:
registerForObjectLock in class AccessTransmitStrategy
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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