From 80cedfbc3b116dc2e00d5d67a849cc2041c7b444 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Wed, 1 Aug 2007 23:12:38 +0000 Subject: added more comments to the CommonSessionDelegate git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561986 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/qpidity/CommonSessionDelegate.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java') diff --git a/java/common/src/main/java/org/apache/qpidity/CommonSessionDelegate.java b/java/common/src/main/java/org/apache/qpidity/CommonSessionDelegate.java index 3bca6116a4..80d54ef173 100644 --- a/java/common/src/main/java/org/apache/qpidity/CommonSessionDelegate.java +++ b/java/common/src/main/java/org/apache/qpidity/CommonSessionDelegate.java @@ -63,6 +63,11 @@ public class CommonSessionDelegate extends Delegate // If these methods are generated as part of the delegate then // I can call these methods from the BodyHandler and HeaderHandler // in a generic way + + + // I have used destination to indicate my intent of receiving + // some form of correlation to know which consumer this data belongs to. + // It can be anything as long as I can make the right correlation // ---------------------------------------------------------------- public void data(Session context,String destination,byte[] src) throws QpidException { -- cgit v1.2.1