From 2b29003006c30daff0e01b0f7637f3365312d1b8 Mon Sep 17 00:00:00 2001 From: Arnaud Simon Date: Fri, 3 Aug 2007 11:32:28 +0000 Subject: Moved into client git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562413 13f79535-47bb-0310-9956-ffa450edef68 --- .../qpidity/api/StreamingMessageListener.java | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java (limited to 'java/common') diff --git a/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java b/java/common/src/main/java/org/apache/qpidity/api/StreamingMessageListener.java deleted file mode 100644 index b361e2ac82..0000000000 --- a/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; - -/** - *

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.

- * - */ -public interface StreamingMessageListener -{ - /** - * Transfer the given message. - *

Following are the valid options for messageTransfer - *

- *

- * - *

In the absence of a particular option, the defaul value is: - *

- *

- * - * @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(); -} -- cgit v1.2.1