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
           
 
Constructor Summary
EventServer(java.util.Properties env)
           
EventServer(java.lang.String uid)
           
 
Method Summary
 void dispatchEvent(java.util.Hashtable evt)
           
 void dispatchEvent(java.util.Hashtable evt, byte[] data)
           
 void dispatchEvent(java.util.Hashtable evt, java.io.Serializable params)
           
protected  byte[] getBytes(java.lang.String filename)
           
 java.util.Properties getERef()
           
 java.lang.String getUID()
           
 void writeERef(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

EventServer

public EventServer(java.lang.String uid)

EventServer

public EventServer(java.util.Properties env)
            throws RemoteException
Method Detail

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