Author: azeez
Date: Fri Nov 18 19:32:02 2011
New Revision: 1203795
URL: http://svn.apache.org/viewvc?rev=1203795&view=rev
Log:
Adding ClusteringMessage
Added:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringMessage.java
Added:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringMessage.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringMessage.java?rev=1203795&view=auto
==============================================================================
---
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringMessage.java
(added)
+++
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringMessage.java
Fri Nov 18 19:32:02 2011
@@ -0,0 +1,31 @@
+/*
+* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights
Reserved.
+*
+* WSO2 Inc. 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.axis2.clustering;
+
+/**
+ * This is a special ClusteringCommand which is used for messaging. If there
is a response,
+ * the response can be retrieved from this command
+ */
+public abstract class ClusteringMessage extends ClusteringCommand {
+
+ /**
+ * Get the response for this message
+ * @return the response for this message
+ */
+ public abstract ClusteringCommand getResponse();
+}