activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Dudney <bdud...@apache.org>
Subject MulticastSocketSyncChannelFactory should implement SyncChannelFactory?
Date Thu, 27 Apr 2006 04:07:55 GMT
Hi All,

I'm playing around with activeio and I found that  
MulticastSocketSyncChannelFactory does not implement  
SyncChannelFactory. It should right?

Figured this little patch was not worth a JIRA, be glad to file one  
if you'd prefer.

in case the license grant is important I grant you full rights to do  
whatever you wish with this code

TTFN,

Bill Dudney
MyFaces - http://myfaces.apache.org
Cayenne - http://incubator.apache.org/projects/cayenne.html


Index: /Users/bdudney/Development/activemq/activeio/activeio-core/src/ 
main/java/org/apache/activeio/packet/sync/multicast/ 
MulticastSocketSyncChannelFactory.java
===================================================================
--- /Users/bdudney/Development/activemq/activeio/activeio-core/src/ 
main/java/org/apache/activeio/packet/sync/multicast/ 
MulticastSocketSyncChannelFactory.java	(revision 397379)
+++ /Users/bdudney/Development/activemq/activeio/activeio-core/src/ 
main/java/org/apache/activeio/packet/sync/multicast/ 
MulticastSocketSyncChannelFactory.java	(working copy)
@@ -22,13 +22,14 @@
import java.net.URI;
import org.apache.activeio.packet.sync.SyncChannel;
+import org.apache.activeio.packet.sync.SyncChannelFactory;
import org.apache.activeio.packet.sync.SyncChannelServer;
/**
   * @version $Revision: $ $Date: $
   */
-public class MulticastSocketSyncChannelFactory {
+public class MulticastSocketSyncChannelFactory implements  
SyncChannelFactory {
      public SyncChannel openSyncChannel(URI groupURI) throws  
IOException {
          if (groupURI == null) throw new IllegalArgumentException 
("group URI cannot be null");


Mime
View raw message