All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SE.kth.speech.broker.SimplePublication

SE.kth.speech.broker.SimplePublication

public class SimplePublication
implements Publication

Constructor Index

 o SimplePublication(String)

Method Index

 o addObserver(Subscription)
 o close()
 o doCommand(BrokerClient, BrokerTokenizer, BrokerTokenizer, Vector)
 o findSubscription(String)
 o getPublicationName()
 o hasCommand(BrokerTokenizer)
 o notify(String)
 o removeObserver(Subscription)

Constructors

 o SimplePublication
 public SimplePublication(String nm)

Methods

 o notify
 public void notify(String event)
 o getPublicationName
 public String getPublicationName()
 o addObserver
 public void addObserver(Subscription s)
 o removeObserver
 public void removeObserver(Subscription s)
 o findSubscription
 public Subscription findSubscription(String id)
 o close
 public void close()
 o hasCommand
 public boolean hasCommand(BrokerTokenizer cmdTok) throws BrokerFormatException
 o doCommand
 public Object doCommand(BrokerClient broker,
                         BrokerTokenizer idTok,
                         BrokerTokenizer cmdTok,
                         Vector hector) throws BrokerException

All Packages  Class Hierarchy  This Package  Previous  Next  Index