User: pkendall Date: 01/08/08 18:18:27 Modified: src/main/org/jbossmq/il ServerIL.java Log: Major updates (especially to topics). Speed improvements. Make JVM IL work (by using a singleton JMSServer). Message Listeners re-implemented using client-side thread. Revision Changes Path 1.3 +5 -4 jbossmq/src/main/org/jbossmq/il/ServerIL.java Index: ServerIL.java =================================================================== RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ServerIL.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ServerIL.java 2001/07/16 02:51:45 1.2 +++ ServerIL.java 2001/08/09 01:18:27 1.3 @@ -17,19 +17,20 @@ import org.jbossmq.SpyMessage; import org.jbossmq.AcknowledgementRequest; import org.jbossmq.SpyDestination; +import org.jbossmq.DurableSubcriptionID; import org.jbossmq.ConnectionToken; /** - * Defines the methods that can be called by a client on + * Defines the methods that can be called by a client on * the server. * * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public interface ServerIL { - + public String getID() throws Exception; public TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws Exception; public TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws Exception; @@ -42,10 +43,10 @@ public void transact(ConnectionToken dc, TransactionRequest t) throws Exception; public void acknowledge(ConnectionToken dc, AcknowledgementRequest item) throws Exception; public SpyMessage[] browse(ConnectionToken dc, Destination dest, String selector) throws Exception; - public void listenerChange(ConnectionToken dc, int subscriberId, boolean state) throws Exception; public SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws Exception; public void setEnabled(ConnectionToken dc, boolean enabled) throws Exception; public void unsubscribe(ConnectionToken dc, int subscriptionId) throws Exception; + public void destroySubscription(DurableSubcriptionID id) throws Exception; public String checkUser(String userName, String password) throws Exception; public void setConnectionToken(org.jbossmq.ConnectionToken newConnectionToken) throws java.lang.Exception; public void subscribe(org.jbossmq.ConnectionToken dc, org.jbossmq.Subscription s) throws java.lang.Exception; _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development