All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface edu.cmu.owl.so.notification.NotifServer

public interface interface NotifServer
This interface represents the main interface to the notification server. It is through this interface that all clients to the subsystem will talk to the subsystem

Version:
1.0

Variable Index

 o SERVER_NAME
the server's name in the registry and the name service

Method Index

 o createEventChannel(String)
This method creates an event channel with the given name
 o getByName(String)
This method returns the event channel associated with the given name
 o getEventChannelList()
This method returns all the Event Channels present.
 o ping()
This method is for testing purposes

Variables

 o SERVER_NAME
 public static final String SERVER_NAME
the server's name in the registry and the name service

Methods

 o getEventChannelList
 public abstract Enumeration getEventChannelList() throws RemoteException
This method returns all the Event Channels present.

Returns:
the event channels that are currently active
Throws: RemoteException
if anything went wrong in the communication
 o getByName
 public abstract EventChannel getByName(String eventChannel) throws RemoteException, UnknownEventChannel
This method returns the event channel associated with the given name

Returns:
the desired event channel
Throws: RemoteException
if anything went wrong in the communication
Throws: UnknownEventChannel
if there is no such channel
 o createEventChannel
 public abstract void createEventChannel(String eventChannel) throws RemoteException, ChannelAlreadyExists
This method creates an event channel with the given name

Throws: RemoteException
if anything went wrong in the communication
Throws: ChannelAlreadyExists
if there is another channel by the same name
 o ping
 public abstract void ping() throws RemoteException
This method is for testing purposes

Throws: RemoteException
if anything went wrong in the communication

All Packages  Class Hierarchy  This Package  Previous  Next  Index