1 45 package org.exolab.jms.server.net; 46 47 import java.rmi.RemoteException ; 48 import java.util.Vector ; 49 50 51 59 public interface RemoteJmsAdminConnectionIfc { 60 61 69 boolean addDurableConsumer(String topic, String name) 70 throws RemoteException ; 71 72 80 boolean removeDurableConsumer(String name) throws RemoteException ; 81 82 89 boolean durableConsumerExists(String name) throws RemoteException ; 90 91 99 Vector getDurableConsumers(String destination) throws RemoteException ; 100 101 108 boolean unregisterConsumer(String name) throws RemoteException ; 109 110 118 boolean isConnected(String name) throws RemoteException ; 119 120 128 boolean addDestination(String destination, Boolean queue) 129 throws RemoteException ; 130 131 140 boolean removeDestination(String name) throws RemoteException ; 141 142 149 boolean destinationExists(String name) throws RemoteException ; 150 151 157 Vector getAllDestinations() throws RemoteException ; 158 159 167 int getDurableConsumerMessageCount(String topic, String name) 168 throws RemoteException ; 169 170 177 int getQueueMessageCount(String queue) throws RemoteException ; 178 179 185 int purgeMessages() throws RemoteException ; 186 187 193 void stopServer() throws RemoteException ; 194 195 196 205 boolean addUser(String username, String password) throws RemoteException ; 206 207 216 boolean changePassword(String username, String password) 217 throws RemoteException ; 218 219 227 boolean removeUser(String username) throws RemoteException ; 228 229 235 Vector getAllUsers() throws RemoteException ; 236 237 } 238 | Popular Tags |