|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sandesha2.client.SandeshaClient
Contains all the Sandesha2Constants of Sandesha2. Please see sub-interfaces to see grouped data.
Constructor Summary | |
SandeshaClient()
|
Method Summary | |
static void |
closeSequence(org.apache.axis2.client.ServiceClient serviceClient)
User can close the sequence defined by the passed serviceClient. |
static void |
closeSequence(org.apache.axis2.client.ServiceClient serviceClient,
java.lang.String sequenceKey)
|
static java.lang.String |
createSequence(org.apache.axis2.client.ServiceClient serviceClient,
boolean offer)
Clients can use this to create a sequence sequence. |
static void |
createSequence(org.apache.axis2.client.ServiceClient serviceClient,
boolean offer,
java.lang.String sequenceKey)
This could be used to create sequences with a given sequence key. |
static SequenceReport |
getIncomingSequenceReport(java.lang.String sequenceID,
org.apache.axis2.context.ConfigurationContext configCtx)
|
static java.util.ArrayList |
getIncomingSequenceReports(org.apache.axis2.context.ConfigurationContext configCtx)
Users can get a list of sequenceReports each describing a incoming sequence, which are the sequences the client work as a RMD. |
static SequenceReport |
getOutgoingSequenceReport(org.apache.axis2.client.ServiceClient serviceClient)
Users can get a SequenceReport of the sequence defined by the information given from the passed serviceClient object. |
static SequenceReport |
getOutgoingSequenceReport(java.lang.String internalSequenceID,
org.apache.axis2.context.ConfigurationContext configurationContext)
|
static SequenceReport |
getOutgoingSequenceReport(java.lang.String to,
java.lang.String sequenceKey,
org.apache.axis2.context.ConfigurationContext configurationContext)
|
static SandeshaReport |
getSandeshaReport(org.apache.axis2.context.ConfigurationContext configurationContext)
SandeshaReport gives the details of all incoming and outgoing sequences. |
static java.lang.String |
getSequenceID(org.apache.axis2.client.ServiceClient serviceClient)
|
static void |
sendAckRequest(org.apache.axis2.client.ServiceClient serviceClient)
|
static void |
sendAckRequest(org.apache.axis2.client.ServiceClient serviceClient,
java.lang.String sequenceKey)
|
static void |
terminateSequence(org.apache.axis2.client.ServiceClient serviceClient)
User can terminate the sequence defined by the passed serviceClient. |
static void |
terminateSequence(org.apache.axis2.client.ServiceClient serviceClient,
java.lang.String sequenceKey)
|
static void |
waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient)
This blocks the system until the messages u have sent hv been completed. |
static void |
waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient,
long maxWaitingTime)
This blocks the system until the messages u have sent hv been completed or until the given time interval exceeds. |
static void |
waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient,
long maxWaitingTime,
java.lang.String sequenceKey)
|
static void |
waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient,
java.lang.String sequenceKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SandeshaClient()
Method Detail |
public static SequenceReport getOutgoingSequenceReport(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
serviceClient
-
SandeshaException
public static SequenceReport getOutgoingSequenceReport(java.lang.String to, java.lang.String sequenceKey, org.apache.axis2.context.ConfigurationContext configurationContext) throws SandeshaException
SandeshaException
public static SequenceReport getOutgoingSequenceReport(java.lang.String internalSequenceID, org.apache.axis2.context.ConfigurationContext configurationContext) throws SandeshaException
SandeshaException
public static java.util.ArrayList getIncomingSequenceReports(org.apache.axis2.context.ConfigurationContext configCtx) throws SandeshaException
configCtx
-
SandeshaException
public static SandeshaReport getSandeshaReport(org.apache.axis2.context.ConfigurationContext configurationContext) throws SandeshaException
configurationContext
-
SandeshaException
public static void createSequence(org.apache.axis2.client.ServiceClient serviceClient, boolean offer, java.lang.String sequenceKey) throws SandeshaException
serviceClient
- - A configured ServiceClient to be used to invoke RM messages. This need to have Sandesha2 engaged.offer
- - Weather a sequence should be offered for obtaining response messages.sequenceKey
- The sequenceKey of the newly generated sequence.
SandeshaException
public static java.lang.String createSequence(org.apache.axis2.client.ServiceClient serviceClient, boolean offer) throws SandeshaException
serviceClient
- - A configured ServiceClient to be used to invoke RM messages. This need to have Sandesha2 engaged.offer
- - Weather a sequence should be offered for obtaining response messages.
SandeshaException
public static void terminateSequence(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
serviceClient
-
SandeshaException
public static void terminateSequence(org.apache.axis2.client.ServiceClient serviceClient, java.lang.String sequenceKey) throws SandeshaException
SandeshaException
public static void closeSequence(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
serviceClient
-
SandeshaException
public static void closeSequence(org.apache.axis2.client.ServiceClient serviceClient, java.lang.String sequenceKey) throws SandeshaException
SandeshaException
public static void waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
serviceClient
-
SandeshaException
public static void waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient, java.lang.String sequenceKey) throws SandeshaException
SandeshaException
public static void waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient, long maxWaitingTime) throws SandeshaException
serviceClient
- maxWaitingTime
-
SandeshaException
public static void waitUntilSequenceCompleted(org.apache.axis2.client.ServiceClient serviceClient, long maxWaitingTime, java.lang.String sequenceKey) throws SandeshaException
SandeshaException
public static java.lang.String getSequenceID(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
SandeshaException
public static void sendAckRequest(org.apache.axis2.client.ServiceClient serviceClient) throws SandeshaException
SandeshaException
public static void sendAckRequest(org.apache.axis2.client.ServiceClient serviceClient, java.lang.String sequenceKey) throws SandeshaException
SandeshaException
public static SequenceReport getIncomingSequenceReport(java.lang.String sequenceID, org.apache.axis2.context.ConfigurationContext configCtx) throws SandeshaException
SandeshaException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |