org.apache.airavata.wsmg.msgbox.client
Class MsgBoxClient

java.lang.Object
  extended by org.apache.airavata.wsmg.msgbox.client.MsgBoxClient

public class MsgBoxClient
extends Object

This is the client class to invoke MsgBoxService this is using four separate classes to invoke four methods createMsgBox,destroyMsgBox,takeMessages and storeMessages operations of the service.


Constructor Summary
MsgBoxClient()
           
 
Method Summary
 org.apache.axis2.addressing.EndpointReference createMessageBox(String msgBoxLocation, long timeout)
           
 String deleteMsgBox(org.apache.axis2.addressing.EndpointReference msgBoxEpr, long timeout)
           
 String storeMessage(org.apache.axis2.addressing.EndpointReference msgBoxEpr, long timeout, org.apache.axiom.om.OMElement messageIn)
           
 Iterator<org.apache.axiom.om.OMElement> takeMessagesFromMsgBox(org.apache.axis2.addressing.EndpointReference msgBoxEpr, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgBoxClient

public MsgBoxClient()
Method Detail

createMessageBox

public org.apache.axis2.addressing.EndpointReference createMessageBox(String msgBoxLocation,
                                                                      long timeout)
                                                               throws RemoteException
Throws:
RemoteException

storeMessage

public String storeMessage(org.apache.axis2.addressing.EndpointReference msgBoxEpr,
                           long timeout,
                           org.apache.axiom.om.OMElement messageIn)
                    throws RemoteException
Throws:
RemoteException

takeMessagesFromMsgBox

public Iterator<org.apache.axiom.om.OMElement> takeMessagesFromMsgBox(org.apache.axis2.addressing.EndpointReference msgBoxEpr,
                                                                      long timeout)
                                                               throws RemoteException
Throws:
RemoteException

deleteMsgBox

public String deleteMsgBox(org.apache.axis2.addressing.EndpointReference msgBoxEpr,
                           long timeout)
                    throws RemoteException
Throws:
RemoteException


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.