[jboss-cvs] JBoss Messaging SVN: r5121 - trunk/src/main/org/jboss/messaging/core/remoting/impl/wireformat.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 16 13:20:40 EDT 2008


Author: ataylor
Date: 2008-10-16 13:20:40 -0400 (Thu, 16 Oct 2008)
New Revision: 5121

Removed:
   trunk/src/main/org/jboss/messaging/core/remoting/impl/wireformat/SessionBrowserHasNextMessageResponseMessage.java
Log:
https://jira.jboss.org/jira/browse/JBMESSAGING-1426 - first step of queue browser re implementation

Deleted: trunk/src/main/org/jboss/messaging/core/remoting/impl/wireformat/SessionBrowserHasNextMessageResponseMessage.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/remoting/impl/wireformat/SessionBrowserHasNextMessageResponseMessage.java	2008-10-16 15:57:55 UTC (rev 5120)
+++ trunk/src/main/org/jboss/messaging/core/remoting/impl/wireformat/SessionBrowserHasNextMessageResponseMessage.java	2008-10-16 17:20:40 UTC (rev 5121)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005-2008, Red Hat Middleware LLC, and individual contributors
- * 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.messaging.core.remoting.impl.wireformat;
-
-import org.jboss.messaging.core.remoting.spi.MessagingBuffer;
-
-/**
- * @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
- * @author <a href="mailto:jmesnil at redhat.com">Jeff Mesnil</a>
- * 
- * @version <tt>$Revision$</tt>
- * 
- */
-public class SessionBrowserHasNextMessageResponseMessage extends PacketImpl
-{
-   // Constants -----------------------------------------------------
-
-   // Attributes ----------------------------------------------------
-
-   private boolean hasNext;
-
-   // Static --------------------------------------------------------
-
-   // Constructors --------------------------------------------------
-
-   public SessionBrowserHasNextMessageResponseMessage(final boolean hasNext)
-   {
-      super(SESS_BROWSER_HASNEXTMESSAGE_RESP);
-
-      this.hasNext = hasNext;
-   }
-   
-   public SessionBrowserHasNextMessageResponseMessage()
-   {
-      super(SESS_BROWSER_HASNEXTMESSAGE_RESP);
-   }
-
-   // Public --------------------------------------------------------
-
-   public boolean isResponse()
-   {
-      return true;
-   }
-   
-   public boolean hasNext()
-   {
-      return hasNext;
-   }
-   
-   public void encodeBody(final MessagingBuffer buffer)
-   {
-      buffer.putBoolean(hasNext);
-   }
-   
-   public void decodeBody(final MessagingBuffer buffer)
-   {
-      hasNext = buffer.getBoolean();       
-   }
-
-   @Override
-   public String toString()
-   {
-      return getParentString() + ", hasNext=" + hasNext + "]";
-   }
-
-   // Package protected ---------------------------------------------
-
-   // Protected -----------------------------------------------------
-
-   // Private -------------------------------------------------------
-
-   // Inner classes -------------------------------------------------
-}




More information about the jboss-cvs-commits mailing list