From 82d128b33fac55b8618d593c89283356ee4e192b Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Tue, 31 Jul 2007 19:43:57 +0000 Subject: The methods in MessageSender are refactored into the Session class git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561459 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/qpid/nclient/api/MessageSender.java | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java (limited to 'java/client') diff --git a/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java b/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java deleted file mode 100644 index 54badefcc6..0000000000 --- a/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.qpid.nclient.api; - -import org.apache.qpidity.QpidException; - -/** - * A sender is used to send message to its queue. - */ -public interface MessageSender extends Resource -{ - - /** - * Sends a message to this sender queue. - * - * @param message The message to be sent - * @throws QpidException If the sender fails to send the message due to some error. - * @throws IllegalStateException If this sender was closed or its session suspended. - */ - public void send(Message message) - throws - QpidException, - IllegalStateException; -} -- cgit v1.2.1