Commits

Anonymous committed 67f5d6f

comments

  • Participants
  • Parent commits 42810a5

Comments (0)

Files changed (1)

File src/java/org/apache/cassandra/net/sink/IMessageSink.java

 
 public interface IMessageSink
 {
+    /**
+     * Transform or drop an outgoing message
+     *
+     * @return null if the message is dropped, or the transformed message to send, which may be just
+     * the original message
+     */
     public MessageOut handleMessage(MessageOut message, int id, InetAddress to);
 
+    /**
+     * Transform or drop an incoming message
+     *
+     * @return null if the message is dropped, or the transformed message to receive, which may be just
+     * the original message
+     */
     public MessageIn handleMessage(MessageIn message, int id, InetAddress to);
 }