[jboss-cvs] JBoss Messaging SVN: r3377 - branches/Branch_JBMESSAGING-544/src/main/org/jboss/messaging/core/remoting.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Nov 28 08:25:59 EST 2007


Author: jmesnil
Date: 2007-11-28 08:25:58 -0500 (Wed, 28 Nov 2007)
New Revision: 3377

Added:
   branches/Branch_JBMESSAGING-544/src/main/org/jboss/messaging/core/remoting/PacketReplier.java
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-544: Replace client-server transport with NIO based transport
* replaced MINA's IoSession by our own PacketReplier interface in the new remoting API

Added: branches/Branch_JBMESSAGING-544/src/main/org/jboss/messaging/core/remoting/PacketReplier.java
===================================================================
--- branches/Branch_JBMESSAGING-544/src/main/org/jboss/messaging/core/remoting/PacketReplier.java	                        (rev 0)
+++ branches/Branch_JBMESSAGING-544/src/main/org/jboss/messaging/core/remoting/PacketReplier.java	2007-11-28 13:25:58 UTC (rev 3377)
@@ -0,0 +1,20 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.messaging.core.remoting;
+
+import org.jboss.messaging.core.remoting.wireformat.AbstractPacket;
+
+/**
+ * @author <a href="mailto:jmesnil at redhat.com">Jeff Mesnil</a>
+ *
+ * @version <tt>$Revision$</tt>
+ *
+ */
+public interface PacketReplier
+{
+   void reply(AbstractPacket packet);
+}




More information about the jboss-cvs-commits mailing list