|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.isr.yancees.PublicationFacade
public class PublicationFacade
This is the server-side publication façade. It hides the yancees core from the publishers. It also invokes the appropriate input filters if they are installed This class stays behind the YanceesServer class
Method Summary | |
---|---|
protected static PublicationFacade |
getInstance()
|
protected void |
installInputFilters(FilterManagerInterface filterMan)
Installs the inputqueue managed by filterManager in this API |
void |
publish(EventInterface evt)
Allows the users of this API to publish individual events |
protected void |
publishThroughDispatcher(EventInterface evt)
Publishes an event using the installed event dispatcher. |
protected void |
publishThroughDispatcher(EventInterface[] evtList)
Publishes an event list using the installed event dispatcher. |
protected void |
setEventDispatcher(EventDispatcherInterface disp)
Used by the Yancees façade to initialize this API with the appropriate default dispatcher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static PublicationFacade getInstance()
protected void installInputFilters(FilterManagerInterface filterMan)
filterManager
- public void publish(EventInterface evt) throws YanceesException
evt
- is the event to be published
YanceesException
- is thrown in case of syntax and connection errorsprotected void publishThroughDispatcher(EventInterface evt) throws YanceesException
evt
- is the event to be published
YanceesException
protected void publishThroughDispatcher(EventInterface[] evtList) throws YanceesException
evtList
- is a list of events to be published
YanceesException
- in case there are some errorsprotected void setEventDispatcher(EventDispatcherInterface disp)
disp
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |