|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdermi.EventServer
dermi.DermiProxy
public class DermiProxy
This class is the Dynamic Proxy that replaces all static stubs that had to be pregenerated in previous versions of Dermi using the 'dermic' tool
Field Summary | |
---|---|
protected java.util.logging.Logger |
logger
|
Fields inherited from class dermi.EventServer |
---|
className, classStore, conn, eref, uid |
Method Summary | |
---|---|
java.util.Hashtable |
anycallEventArrived(java.util.Hashtable evt)
Standard upcall for anycall arrived events |
void |
close()
Closes the stub |
ERemote |
copy()
Returns a stub copy of this class |
boolean |
equals(java.lang.Object objet)
Compares this object with another |
void |
eventArrived(java.util.Hashtable evt)
Method invoked each time the proxy receives an event |
void |
init()
Initializes the stub |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] arguments)
This method is called by the Proxy before invoking the interface method |
static java.lang.Object |
newInstance(java.lang.Object obj,
java.util.Properties props)
This method returns a new instance of a DermiProxy |
static java.lang.Object |
newInstance(java.lang.Object obj,
java.util.Properties props,
java.lang.String s)
This method returns a new instance of a DermiProxy |
protected void |
start(java.util.Properties env)
Internal method for initializing proxy's internal object |
protected void |
start(java.util.Properties env,
java.lang.String stub)
Constructor: entry point to the stub class |
Methods inherited from class dermi.EventServer |
---|
dispatchDirectEvent, dispatchDirectEvent, dispatchEvent, dispatchEvent, dispatchEvent, getBytes, getClassStore, getERef, getUID, writeERef |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.util.logging.Logger logger
Method Detail |
---|
public static java.lang.Object newInstance(java.lang.Object obj, java.util.Properties props)
obj
- Object Object to be intercepted by the proxyprops
- Properties Object's initialization properties
public static java.lang.Object newInstance(java.lang.Object obj, java.util.Properties props, java.lang.String s)
obj
- Object Object to be intercepted by the proxyprops
- Properties Object's initialization properties
protected void start(java.util.Properties env)
start
in class EventServer
env
- Properties Object initialization propertiesprotected void start(java.util.Properties env, java.lang.String stub)
env
- Properties Environment propertiesstub
- String Stub name
RemoteException
- If something goes wrong ;-)public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] arguments) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- Object Proxy class objectm
- Method Method to invokearguments
- Object[] Arguments packed in an object array
java.lang.Throwable
public void eventArrived(java.util.Hashtable evt)
eventArrived
in interface RemoteEventListener
evt
- Hashtable Information about the event receivedpublic java.util.Hashtable anycallEventArrived(java.util.Hashtable evt) throws UnmatchedAnycallMethodException
RemoteEventListener
anycallEventArrived
in interface RemoteEventListener
evt
- Hashtable
UnmatchedAnycallMethodException
public void close() throws RemoteException
RemoteException
- If something goes wrong ;-)public void init() throws RemoteException
RemoteException
- If something goes wrong ;-)public boolean equals(java.lang.Object objet)
equals
in class java.lang.Object
obj
- Object The other object
public ERemote copy() throws RemoteException
RemoteException
- If something goes wrong ;-)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |