ermi
Class EventServer
java.lang.Object
|
+--ermi.EventServer
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ERegistrySkel, ERegistryStub
- public class EventServer
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Pedro García
EventServer is an utility class for Skels and Stubs (both inherit from EventServer).
This class handles event service connections, disconnections, event dispatching, exception wrapping
and stub class requests. It is internally used by ERMI so it is not aimed for end users.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
class_store
|
protected java.lang.String |
className
|
protected Session |
conn
|
protected java.util.Properties |
eref
|
protected java.lang.String |
uid
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conn
protected transient Session conn
uid
protected java.lang.String uid
class_store
protected java.lang.String class_store
className
protected java.lang.String className
eref
protected java.util.Properties eref
EventServer
public EventServer(java.lang.String uid)
EventServer
public EventServer(java.util.Properties env)
throws RemoteException
dispatchEvent
public void dispatchEvent(java.util.Hashtable evt,
byte[] data)
throws RemoteException
RemoteException
dispatchEvent
public void dispatchEvent(java.util.Hashtable evt,
java.io.Serializable params)
throws RemoteException
RemoteException
dispatchEvent
public void dispatchEvent(java.util.Hashtable evt)
throws RemoteException
RemoteException
getUID
public java.lang.String getUID()
writeERef
public void writeERef(java.lang.String fileName)
getERef
public java.util.Properties getERef()
getBytes
protected byte[] getBytes(java.lang.String filename)
throws java.io.IOException
java.io.IOException