All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class replica.ActiveReplication

java.lang.Object
   |
   +----replica.AccessTransmitStrategy
           |
           +----replica.ReplicationStrategy
                   |
                   +----replica.ActiveReplication

public class ActiveReplication
extends ReplicationStrategy
This class is the Strategy-Object for active replicated objects.

Version:
1.0
Author:
Markus Jäger
See Also:
AccessControlObject

Constructor Index

 o ActiveReplication()
Construct an ActiveReplication 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 newObject(Object, EventDescNewObject)
This method is only important if you want to add your own replication strategy.
 o outCall(Object, EventDescOutCall)
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 registerForObjectCreation()
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 registerForOutCalls()
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 ActiveReplication
 public ActiveReplication()
Construct an ActiveReplication object.

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

Overrides:
registerForObjectCreation 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 registerForOutCalls
 protected boolean registerForOutCalls()
This method is only important if you want to add your own replication strategy.

Overrides:
registerForOutCalls 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 void transmitObject(ObjectTransmissionControl tCont,
                               Object obj) throws IOException
This method is only important if you want to add your own replication strategy.

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

Overrides:
acpuireLock in class AccessTransmitStrategy
 o releaseLock
 protected 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 outCall
 protected Object outCall(Object o,
                          EventDescOutCall event) throws Throwable
This method is only important if you want to add your own replication strategy.

Throws: Throwable
The exception of the invocation.
Overrides:
outCall in class AccessTransmitStrategy
 o newObject
 protected Object newObject(Object o,
                            EventDescNewObject event) throws Throwable
This method is only important if you want to add your own replication strategy.

Throws: Throwable
Thrown if the new object could not be created.
Overrides:
newObject in class AccessTransmitStrategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index