diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2007-08-03 14:29:56 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2007-08-03 14:29:56 +0000 |
| commit | bf2989eae753d356ec42ae2839501bd5db548f2b (patch) | |
| tree | 16aa808744e5dda6bd4bf4d2c70bcc2744f51497 /java | |
| parent | cb659c19d459362153aaf3cdc523f64b34b1f157 (diff) | |
| download | qpid-python-bf2989eae753d356ec42ae2839501bd5db548f2b.tar.gz | |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562475 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/nclient/MessageListener.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/nclient/MessageListener.java b/java/client/src/main/java/org/apache/qpid/nclient/MessageListener.java new file mode 100644 index 0000000000..5f179826fa --- /dev/null +++ b/java/client/src/main/java/org/apache/qpid/nclient/MessageListener.java @@ -0,0 +1,34 @@ +/* + * 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; + +import org.apache.qpidity.api.Message; + +/** + *A message listener + */ +public interface MessageListener +{ + /** + * Process an incoming message. + * + * @param message The incoming message. + */ + public void onMessage(Message message); +} |
