summaryrefslogtreecommitdiff
path: root/qpid/java/common/src
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-08-03 11:32:28 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-08-03 11:32:28 +0000
commitc23f0c0d9fa65434ff0dec11c8eb44ac0e274272 (patch)
tree8683643d8f960259e723be51fd3b956abf51f10e /qpid/java/common/src
parent1a683c482dc7e4961a68733e6b5c63f343264594 (diff)
downloadqpid-python-c23f0c0d9fa65434ff0dec11c8eb44ac0e274272.tar.gz
Moved into client
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562413 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java60
1 files changed, 0 insertions, 60 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java b/qpid/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java
deleted file mode 100644
index b361e2ac82..0000000000
--- a/qpid/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package org.apache.qpidity.api;
-
-import org.apache.qpidity.Header;
-import org.apache.qpidity.Option;
-
-/**
- * <p>This message listener is useful if u need to
- * know when each message part becomes available
- * as opposed to knowing when the whole message arrives.</p>
- *
- */
-public interface StreamingMessageListener
-{
- /**
- * Transfer the given message.
- * <p> Following are the valid options for messageTransfer
- * <ul>
- * <li> CONFIRM
- * <li> PRE_ACQUIRE
- * </ul>
- * </p>
- *
- * <p> In the absence of a particular option, the defaul value is:
- * <ul>
- * <li> CONFIRM = false
- * <li> NO-ACCQUIRE
- * </ul>
- * </p>
- *
- * @param destination The exchange the message being sent.
- * @return options set of options
- * @throws QpidException If the session fails to send the message due to some error
- */
- public void messageTransfer(String destination,Option... options);
-
- /**
- * Add the following headers to content bearing frame
- *
- * @param Header Either DeliveryProperties or ApplicationProperties
- * @throws QpidException If the session fails to execute the method due to some error
- */
- public void messageHeaders(Header ... headers);
-
- /**
- * Add the following byte array to the content.
- * This method is useful when streaming large messages
- *
- * @param src data to be added or streamed
- * @throws QpidException If the session fails to execute the method due to some error
- */
- public void data(byte[] src);
-
- /**
- * Signals the end of data for the message. *
- * This method is useful when streaming large messages
- *
- * @throws QpidException If the session fails to execute the method due to some error
- */
- public void endData();
-}