|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object implementing this interface provides recovery methods. This server is an RMI object.
Field Summary | |
static int |
FAILED
Active objects possible states. |
static int |
RECOVERING
|
static int |
RUNNING
|
Method Summary | |
void |
broadcastFTEvent(FTMessage fte)
Broadcast the event fte to every activity registered in the Recovery process |
void |
failureDetected(UniqueID id)
Notify the recovery process that the body passed in paramater is suspected to be failed. |
void |
register(UniqueID id)
Register the calling OA. |
void |
updateState(UniqueID id,
int state)
Update the current state of the active object id. |
Field Detail |
public static final int FAILED
public static final int RECOVERING
public static final int RUNNING
Method Detail |
public void register(UniqueID id) throws java.rmi.RemoteException
id
- the registered body id
java.rmi.RemoteException
public void failureDetected(UniqueID id) throws java.rmi.RemoteException
id
- the id of the suspected OA
java.rmi.RemoteException
public void updateState(UniqueID id, int state) throws java.rmi.RemoteException
id
- id of the OA to updatestate
- state of the active object
java.rmi.RemoteException
public void broadcastFTEvent(FTMessage fte) throws java.rmi.RemoteException
fte
- the event to broadcast
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |