public abstract class ISCMessageDispatcher
extends java.lang.Object | Modifier and Type | Method and Description | 
|---|---|
| static ISCMessageDispatcher | instance() | 
| static ISCMessageDispatcher | instance(RequestContext context) | 
| boolean | isSubscribed(ISubscriber subscriber, java.lang.String channel)Check to see if a given subscriber is subscribed to a given channel. | 
| void | register(ISubscriber subscriber)register this subscriber | 
| void | send(ISCMessage msg)send a message | 
| void | subscribe(ISubscriber subscriber, java.lang.String channel)subscribe a given subscriber to a given channel | 
| abstract void | subscribe(ISubscriber subscriber, java.lang.String channel, java.lang.String selector)subscribe a given subscriber to a given channel | 
| void | unregister(ISubscriber subscriber)unregister this subscriber | 
| abstract void | unsubscribe(ISubscriber subscriber, java.lang.String channel)unsubscribe a given subscriber from a given channel | 
public static ISCMessageDispatcher instance() throws java.lang.Exception
java.lang.Exceptionpublic static ISCMessageDispatcher instance(RequestContext context) throws java.lang.Exception
context - java.lang.Exceptionpublic void register(ISubscriber subscriber) throws java.lang.Exception
subscriber - java.lang.Exceptionpublic void unregister(ISubscriber subscriber) throws java.lang.Exception
subscriber - java.lang.Exceptionpublic void subscribe(ISubscriber subscriber, java.lang.String channel) throws java.lang.Exception
subscriber - channel - java.lang.Exceptionpublic abstract void subscribe(ISubscriber subscriber, java.lang.String channel, java.lang.String selector) throws java.lang.Exception
subscriber - channel - selector - java.lang.Exceptionpublic abstract void unsubscribe(ISubscriber subscriber, java.lang.String channel) throws java.lang.Exception
subscriber - channel - java.lang.Exceptionpublic void send(ISCMessage msg) throws java.lang.Exception
msg - java.lang.Exceptionpublic boolean isSubscribed(ISubscriber subscriber, java.lang.String channel) throws java.lang.Exception
subscriber - channel - java.lang.Exception