com.crankuptheamps.client
Interface SubscriptionManager

All Known Implementing Classes:
DefaultSubscriptionManager, MemorySubscriptionManager

public interface SubscriptionManager


Method Summary
 void clear()
           
 void resubscribe(Client client)
           
 void subscribe(MessageHandler messageHandler, int command, CommandId subId, String topic, String filter, String bookmark, String options, int batchSize)
           
 void unsubscribe(CommandId subId)
           
 

Method Detail

subscribe

void subscribe(MessageHandler messageHandler,
               int command,
               CommandId subId,
               String topic,
               String filter,
               String bookmark,
               String options,
               int batchSize)

unsubscribe

void unsubscribe(CommandId subId)

clear

void clear()

resubscribe

void resubscribe(Client client)
                 throws AMPSException
Throws:
AMPSException