edu.uci.isr.yancees.server.rmi
Interface RemoteYanceesInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteYanceesImplementation

public interface RemoteYanceesInterface
extends java.rmi.Remote

Author:
Roberto Silveira Silva Filho [rsilvafi@ics.uci.edu] This remote interface is the façade for the services in the YANCEES server.

Field Summary
static java.lang.String LOOKUP_NAME
           
 
Method Summary
 RemoteProtocolSessionInterface createNewSession(MessageInterface msg, RemoteSubscriberInterface rsi)
           
 void publish(EventInterface evt)
           
 void publish(EventInterface[] evt)
           
 void resumeYancees()
           
 void shutdownYancees()
           
 void subscribe(MessageInterface msg, RemoteSubscriberInterface rsi)
           
 void suspendYancees()
           
 void unsubscribe(RemoteSubscriberInterface rsi)
           
 void unsubscribe(RemoteSubscriberInterface rsi, MessageInterface sub)
           
 

Field Detail

LOOKUP_NAME

public static final java.lang.String LOOKUP_NAME
See Also:
Constant Field Values
Method Detail

createNewSession

public RemoteProtocolSessionInterface createNewSession(MessageInterface msg,
                                                       RemoteSubscriberInterface rsi)
                                                throws YanceesException,
                                                       java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

publish

public void publish(EventInterface evt)
             throws YanceesException,
                    java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

publish

public void publish(EventInterface[] evt)
             throws YanceesException,
                    java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

subscribe

public void subscribe(MessageInterface msg,
                      RemoteSubscriberInterface rsi)
               throws YanceesException,
                      java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

unsubscribe

public void unsubscribe(RemoteSubscriberInterface rsi)
                 throws YanceesException,
                        java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

unsubscribe

public void unsubscribe(RemoteSubscriberInterface rsi,
                        MessageInterface sub)
                 throws YanceesException,
                        java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

shutdownYancees

public void shutdownYancees()
                     throws YanceesException,
                            java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

suspendYancees

public void suspendYancees()
                    throws YanceesException,
                           java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException

resumeYancees

public void resumeYancees()
                   throws YanceesException,
                          java.rmi.RemoteException
Throws:
YanceesException
java.rmi.RemoteException