org.apache.axis2.util
Class CallbackReceiver

java.lang.Object
  extended byorg.apache.axis2.util.CallbackReceiver
All Implemented Interfaces:
MessageReceiver

public class CallbackReceiver
extends Object
implements MessageReceiver

This is a MessageReceiver which is used on the client side to accept the messages (response) that come to the client. This correlates the incoming message to the related messages and makes a call to the appropriate callback.


Field Summary
static String SERVICE_NAME
           
 
Constructor Summary
CallbackReceiver()
           
 
Method Summary
 void addCallback(String MsgID, Callback callback)
           
 void receive(MessageContext messageCtx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static String SERVICE_NAME
Constructor Detail

CallbackReceiver

public CallbackReceiver()
Method Detail

addCallback

public void addCallback(String MsgID,
                        Callback callback)

receive

public void receive(MessageContext messageCtx)
             throws AxisFault
Specified by:
receive in interface MessageReceiver
Throws:
AxisFault