|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.samples.callback.acknowledgement.CallbackAcknowledgeClient
public class CallbackAcknowledgeClient
Constructor Summary | |
---|---|
CallbackAcknowledgeClient()
|
Method Summary | |
---|---|
void |
createRemotingClient(java.lang.String locatorURI)
|
void |
disconnectRemotingClient()
|
static void |
main(java.lang.String[] args)
Can pass transport and port to be used as parameters. |
void |
testPolledCallbackApplicationAcknowledgements()
In this test the connection is configured for push callbacks implemented in Remoting by polling the server for callbacks and pushing them (on the client side) to the InvokerCallbackHandler. |
void |
testPolledCallbackRemotingAcknowledgements()
In this test the connection is configured for push callbacks implemented in Remoting by polling the server for callbacks and pushing them (on the client side) to the InvokerCallbackHandler. |
void |
testPullCallbackAcknowledgements()
In this test, the connection is configured for pull callbacks, and acknowledgements are made by an explicit call to Client.acknowledgeCallback() after the callbacks have been received. |
void |
testPushCallbackApplicationAcknowledgements()
In this test the connection is configured for true push callbacks. |
void |
testPushCallbackRemotingAcknowledgements()
In this test the connection is configured for true push callbacks, and Acknowledgements are handled implicitly by Remoting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallbackAcknowledgeClient()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- public void createRemotingClient(java.lang.String locatorURI) throws java.lang.Exception
java.lang.Exception
public void disconnectRemotingClient()
public void testPullCallbackAcknowledgements()
public void testPolledCallbackApplicationAcknowledgements()
public void testPolledCallbackRemotingAcknowledgements()
public void testPushCallbackApplicationAcknowledgements()
public void testPushCallbackRemotingAcknowledgements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |