|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdermi.EventServer
dermi.DermiRemoteObject
public abstract class DermiRemoteObject
This class implements the generic skeleton class for any Dermi object
| Field Summary | |
|---|---|
protected java.util.logging.Logger |
logger
|
| Fields inherited from class dermi.EventServer |
|---|
className, classStore, conn, eref, uid |
| Constructor Summary | |
|---|---|
DermiRemoteObject()
Local constructor: Entry point to the skeleton class |
|
DermiRemoteObject(java.util.Properties env)
Constructor: Entry point to the skeleton class |
|
| Method Summary | |
|---|---|
void |
addListener(java.lang.Class eventClass,
BasicListener sL)
|
java.util.Hashtable |
anycallEventArrived(java.util.Hashtable evt)
Method invoked each time the skeleton receives an anycall event |
void |
close()
Closes the skeleton |
ERemote |
copy()
Returns a stub copy of this class |
void |
eventArrived(java.util.Hashtable evt)
Method invoked each time the skeleton receives an event |
void |
getReplicaState()
Method for obtaining the object's state from any of the available replicas |
void |
init()
Initializes the skeleton |
protected void |
loadReplicaState()
This method starts load replica state mechanism |
java.io.Serializable |
loadState()
This method is used for a not updated replica in order to obtain the object's state |
void |
removeListener(java.lang.Class eventClass,
BasicListener sL)
|
void |
triggerEvent(java.io.Serializable res)
This method triggers an event (used in listeners) |
| Methods inherited from class dermi.EventServer |
|---|
dispatchDirectEvent, dispatchDirectEvent, dispatchEvent, dispatchEvent, dispatchEvent, getBytes, getClassStore, getERef, getUID, start, writeERef |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient java.util.logging.Logger logger
| Constructor Detail |
|---|
public DermiRemoteObject()
public DermiRemoteObject(java.util.Properties env)
throws RemoteException
env - Properties Environment properties
RemoteException - When something goes wrong ;-)| Method Detail |
|---|
protected void loadReplicaState()
throws RemoteException
RemoteException - If replica state cannot be loaded
public void getReplicaState()
throws RemoteException
RemoteExceptionpublic void eventArrived(java.util.Hashtable evt)
eventArrived in interface RemoteEventListenerevt - Hashtable Information about the received event
public java.util.Hashtable anycallEventArrived(java.util.Hashtable evt)
throws UnmatchedAnycallMethodException
anycallEventArrived in interface RemoteEventListenerevt - Hashtable Information about the received event
UnmatchedAnycallMethodException
public void triggerEvent(java.io.Serializable res)
throws RemoteException
res - Serializable The event to trigger
RemoteException - If something goes wrong ;-)
public java.io.Serializable loadState()
throws RemoteException
RemoteException
public void close()
throws RemoteException
RemoteException - If something goes wrong ;-)
public void init()
throws RemoteException
RemoteException - If something goes wrong ;-)
public ERemote copy()
throws RemoteException
RemoteException - If something goes wrong ;-)
public void addListener(java.lang.Class eventClass,
BasicListener sL)
throws RemoteException
RemoteException
public void removeListener(java.lang.Class eventClass,
BasicListener sL)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||