edu.uci.isr.yancees
Interface YanceesInterface
- All Known Implementing Classes:
- YanceesClient, YanceesRMIClient
- public interface YanceesInterface
- Author:
- Roberto Silveira Silva Filho [rsilvafi@ics.uci.edu]
This interface must be implemented by local (client-side) implementations of
YANCEES, in order to provide a standard façade for the interaction of clients
with the server. The implementatin of this interface will hide the communication
idiossincrasies associated to the transport protocol (RMI, Sockets, HTTP and so on)
that YANCEES may use.
createNewSession
public ProtocolSessionInterface createNewSession(MessageInterface msg,
SubscriberInterface rsi)
throws YanceesException
- Throws:
YanceesException
publish
public void publish(EventInterface evt)
throws YanceesException
- Throws:
YanceesException
subscribe
public void subscribe(MessageInterface msg,
SubscriberInterface rsi)
throws YanceesException
- Throws:
YanceesException
unsubscribe
public void unsubscribe(SubscriberInterface rsi)
throws YanceesException
- Throws:
YanceesException
unsubscribe
public void unsubscribe(SubscriberInterface rsi,
MessageInterface sub)
throws YanceesException
- Throws:
YanceesException
shutdownYancees
public void shutdownYancees()
throws YanceesException
- Throws:
YanceesException
suspendYancees
public void suspendYancees()
throws YanceesException
- Throws:
YanceesException
resumeYancees
public void resumeYancees()
throws YanceesException
- Throws:
YanceesException