You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/04/18 22:24:18 UTC
svn commit: r395027 - in /tomcat/container/tc5.5.x/modules/groupcom:
src/share/org/apache/catalina/tribes/ByteMessage.java
src/share/org/apache/catalina/tribes/Channel.java to-do.txt
Author: fhanik
Date: Tue Apr 18 13:24:18 2006
New Revision: 395027
URL: http://svn.apache.org/viewcvs?rev=395027&view=rev
Log:
doc stuff
Modified:
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ByteMessage.java
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java
tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ByteMessage.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ByteMessage.java?rev=395027&r1=395026&r2=395027&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ByteMessage.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ByteMessage.java Tue Apr 18 13:24:18 2006
@@ -23,11 +23,12 @@
/**
* A byte message is not serialized and deserialized by the channel
+ * instead it is sent as a byte array<br>
* @author Filip Hanik
* @version $Revision: 304032 $, $Date: 2005-07-27 10:11:55 -0500 (Wed, 27 Jul 2005) $
*/
-public class ByteMessage implements Serializable, Externalizable {
+public final class ByteMessage implements Serializable, Externalizable {
private byte[] message;
public ByteMessage() {
Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java?rev=395027&r1=395026&r2=395027&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java Tue Apr 18 13:24:18 2006
@@ -20,7 +20,7 @@
/**
* Channel interface
* A channel is an object that manages a group of members.
- * It manages a complete cluster group, both membership and replication.
+ * It manages a complete cluster group, both membership and data transfers.
* @author Filip Hanik
* @version $Revision: 304032 $, $Date: 2005-07-27 10:11:55 -0500 (Wed, 27 Jul 2005) $
*/
@@ -99,12 +99,27 @@
/**
* Sends a heart beat through the interceptor stacks
+ * Use this method to alert interceptors and other components to
+ * clean up garbage, timed out messages etc
*/
public void heartbeat();
+ /**
+ * Add a membership listener, will get notified when a new member joins
+ * @param listener MembershipListener
+ */
public void addMembershipListener(MembershipListener listener);
+
+ /**
+ * Add a channel listener, this is a callback object when messages are received
+ * @param listener ChannelListener
+ */
public void addChannelListener(ChannelListener listener);
+ /**
+ * remove a membership listener, listeners are removed based on Object.hashCode and Object.equals
+ * @param listener MembershipListener
+ */
public void removeMembershipListener(MembershipListener listener);
public void removeChannelListener(ChannelListener listener);
Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=395027&r1=395026&r2=395027&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Tue Apr 18 13:24:18 2006
@@ -33,6 +33,8 @@
Code Tasks:
===========================================
+39. Support for IPv6
+
38. Make the AbstractReplicatedMap accept non serializable elements, but just don't replicate them
36. UDP Sender and Receiver, initially without flow control and guaranteed delivery.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org