[jboss-cvs] JBoss Messaging SVN: r3585 - in trunk: src/main/org/jboss/jms/delegate and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 17 10:14:58 EST 2008
Author: clebert.suconic at jboss.com
Date: 2008-01-17 10:14:58 -0500 (Thu, 17 Jan 2008)
New Revision: 3585
Removed:
trunk/src/main/org/jboss/jms/delegate/IDBlock.java
Modified:
trunk/src/main/org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.java
trunk/tests/src/org/jboss/test/messaging/jms/server/connectionmanager/SimpleConnectionManagerTest.java
Log:
Removing IDBlock
Modified: trunk/src/main/org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.java 2008-01-17 14:51:51 UTC (rev 3584)
+++ trunk/src/main/org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.java 2008-01-17 15:14:58 UTC (rev 3585)
@@ -40,7 +40,6 @@
import org.jboss.jms.client.FailoverCommandCenter;
import org.jboss.jms.delegate.ConnectionFactoryDelegate;
import org.jboss.jms.delegate.CreateConnectionResult;
-import org.jboss.jms.delegate.IDBlock;
import org.jboss.jms.delegate.TopologyResult;
import org.jboss.jms.exception.MessagingNetworkFailureException;
import org.jboss.logging.Logger;
@@ -409,15 +408,6 @@
"Cannot find a server to failover onto.");
}
- /**
- * This invocation should either be handled by the client-side interceptor chain or by the
- * server-side endpoint.
- */
- public IDBlock getIdBlock(int size) throws JMSException
- {
- throw new IllegalStateException("This invocation should not be handled here!");
- }
-
// Public ---------------------------------------------------------------------------------------
public ClientConnectionFactoryDelegate[] getDelegates()
Deleted: trunk/src/main/org/jboss/jms/delegate/IDBlock.java
===================================================================
--- trunk/src/main/org/jboss/jms/delegate/IDBlock.java 2008-01-17 14:51:51 UTC (rev 3584)
+++ trunk/src/main/org/jboss/jms/delegate/IDBlock.java 2008-01-17 15:14:58 UTC (rev 3585)
@@ -1,80 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.jms.delegate;
-
-import java.io.DataInputStream;
-import java.io.DataOutputStream;
-
-import org.jboss.messaging.util.Streamable;
-
-/**
- *
- * A IDBlock.
- *
- * @author <a href="tim.fox at jboss.com">Tim Fox</a>
- * @version <tt>$Revision$</tt>
- *
- * $Id$
- */
-public class IDBlock implements Streamable
-{
- private long low;
- private long high;
-
- public IDBlock()
- {
- }
-
- public IDBlock(long low, long high)
- {
- this.low = low;
- this.high = high;
- }
-
- public long getLow()
- {
- return low;
- }
-
- public long getHigh()
- {
- return high;
- }
-
- public void read(DataInputStream in) throws Exception
- {
- low = in.readLong();
- high = in.readLong();
- }
-
- public void write(DataOutputStream out) throws Exception
- {
- out.writeLong(low);
- out.writeLong(high);
- }
-
- public String toString()
- {
- return "IDBlock[" + low + "-" + high + "]";
- }
-
-}
Modified: trunk/tests/src/org/jboss/test/messaging/jms/server/connectionmanager/SimpleConnectionManagerTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/server/connectionmanager/SimpleConnectionManagerTest.java 2008-01-17 14:51:51 UTC (rev 3584)
+++ trunk/tests/src/org/jboss/test/messaging/jms/server/connectionmanager/SimpleConnectionManagerTest.java 2008-01-17 15:14:58 UTC (rev 3585)
@@ -32,8 +32,6 @@
import org.jboss.jms.client.JBossConnectionFactory;
import org.jboss.jms.client.api.ClientSession;
import org.jboss.jms.delegate.ConnectionEndpoint;
-import org.jboss.jms.delegate.IDBlock;
-import org.jboss.jms.delegate.SessionDelegate;
import org.jboss.jms.server.ConnectionManager;
import org.jboss.jms.server.connectionmanager.SimpleConnectionManager;
import org.jboss.jms.tx.TransactionRequest;
@@ -276,10 +274,6 @@
return -1;
}
- public IDBlock getIdBlock(int size) throws JMSException
- {
- return null;
- }
}
}
More information about the jboss-cvs-commits
mailing list