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

Constructor Index

 o AccessRemoteTransmitROR(RemoteObjectReference)
Used to construct the client stub for a Remote-Object.

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 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 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 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.

Constructors

 o AccessRemoteTransmitROR
 public AccessRemoteTransmitROR(RemoteObjectReference newRemoteRef)
Used to construct the client stub for a Remote-Object.

Parameters:
newRemoteRef - ID of the Remote-Object.

Methods

 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 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 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
 o 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
 o 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
 o 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