public class PublishProvFtry.PublishProvImp extends java.lang.Object implements SrvcProvImp
IF_VERSION| Constructor and Description |
|---|
PublishProvFtry.PublishProvImp() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSubscription(TvOutput subscriber,
java.lang.String pubTopic) |
int |
dispatchRqst(TvList msgRec,
TvOutput chnl,
java.lang.String[] srvrCmd)
Dispatch channel request.
|
protected void |
dumpSubscriptions() |
void |
handleDisconnect(TvOutput client)
Clean up after the client disconnects.
|
void |
listSubscriptions(java.lang.String pubTopic,
TvOutput toClient) |
int |
publish(TvList publication,
TvOutput toPublisher)
Publish a TvList.
|
int |
publishEx(TvList publication,
java.util.Set<TvOutput> excludeSet)
Publish a TvList with multiple excludes.
|
boolean |
removeSubscription(TvOutput subscriber,
java.lang.String pubTopic) |
public int dispatchRqst(TvList msgRec, TvOutput chnl, java.lang.String[] srvrCmd)
dispatchRqst in interface SrvcProvImpmsgRec - The client request messagechnl - Connection back to the clientsrvrCmd - Allows a command to be passed back to the server.public void handleDisconnect(TvOutput client)
SrvcProvImphandleDisconnect in interface SrvcProvImpclient - The channel to the client that has disconnectedpublic int publish(TvList publication, TvOutput toPublisher)
publication - The TvList to publishtoPublisher - Destination to be excluded. (can be null)public int publishEx(TvList publication, java.util.Set<TvOutput> excludeSet)
publication - The TvList to publishexcludeSet - Destinations to be excluded. (can be null)public boolean addSubscription(TvOutput subscriber, java.lang.String pubTopic)
public boolean removeSubscription(TvOutput subscriber, java.lang.String pubTopic)
public void listSubscriptions(java.lang.String pubTopic,
TvOutput toClient)
protected void dumpSubscriptions()