ponderEnforcement.eventService
Class EventServiceImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--ponderEnforcement.eventService.EventServiceImpl
All Implemented Interfaces:
EventService, java.rmi.Remote, java.io.Serializable

public class EventServiceImpl
extends java.rmi.server.UnicastRemoteObject
implements EventService

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
EventServiceImpl(java.lang.String title)
          Constructor
 
Method Summary
 java.lang.String getHost()
          Return the host on which this event server runs
 java.lang.String getServerName()
          Return the name with which this event server is bound to RMI
static void main(java.lang.String[] args)
          Main
 void registerEvent(java.lang.String host, java.lang.String ehName)
          Register an Event
 void unregisterEvent()
          Unregister an Event
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventServiceImpl

public EventServiceImpl(java.lang.String title)
                 throws java.rmi.RemoteException
Constructor
Method Detail

registerEvent

public void registerEvent(java.lang.String host,
                          java.lang.String ehName)
                   throws java.rmi.RemoteException
Register an Event
Specified by:
registerEvent in interface EventService

unregisterEvent

public void unregisterEvent()
                     throws java.rmi.RemoteException
Unregister an Event
Specified by:
unregisterEvent in interface EventService

getHost

public java.lang.String getHost()
Return the host on which this event server runs

getServerName

public java.lang.String getServerName()
Return the name with which this event server is bound to RMI

main

public static void main(java.lang.String[] args)
Main