1 22 package org.jboss.mq.sm; 23 24 import java.util.Collection ; 25 import javax.jms.JMSException ; 26 import org.jboss.mq.SpyTopic; 27 import org.jboss.mq.DurableSubscriptionID; 28 import org.jboss.mq.server.JMSDestinationManager; 29 30 49 50 public interface StateManager { 51 52 65 public void setDurableSubscription(JMSDestinationManager server, DurableSubscriptionID sub, SpyTopic topic) throws JMSException ; 66 67 70 public SpyTopic getDurableTopic(DurableSubscriptionID sub) throws JMSException ; 71 72 87 public String checkUser(String login, String passwd) throws JMSException ; 88 89 101 public void addLoggedOnClientId(String ID) throws JMSException ; 102 103 108 public void removeLoggedOnClientId(String ID); 109 110 117 public Collection getDurableSubscriptionIdsForTopic(SpyTopic topic) 118 throws JMSException ; 119 } 121 122 123 | Popular Tags |