com.crankuptheamps.client
Class DefaultSubscriptionManager
java.lang.Object
com.crankuptheamps.client.DefaultSubscriptionManager
- All Implemented Interfaces:
- SubscriptionManager
public class DefaultSubscriptionManager
- extends Object
- implements SubscriptionManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSubscriptionManager
public DefaultSubscriptionManager()
subscribe
public void subscribe(MessageHandler messageHandler,
int command,
CommandId subId,
String topic,
String filter,
String bookmark,
String options,
int batchsize)
- Specified by:
subscribe
in interface SubscriptionManager
unsubscribe
public void unsubscribe(CommandId subId)
- Specified by:
unsubscribe
in interface SubscriptionManager
clear
public void clear()
- Specified by:
clear
in interface SubscriptionManager
resubscribe
public void resubscribe(Client client)
throws AMPSException
- Specified by:
resubscribe
in interface SubscriptionManager
- Throws:
AMPSException