public interface ClientEmbeddedASDelegate
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientEmbeddedASDelegate.Listener
Used to receive information from the server while an asynchronousCall is in progress.
|
Modifier and Type | Method and Description |
---|---|
void |
asynchronousCall(java.lang.String message,
ClientEmbeddedASDelegate.Listener listener)
Passes the message across to the server and calls ServerEmbeddedASDelegate.asynchronousCall.
|
void |
close()
Causes the ServerEmbeddedASDelegate to be delete and closes the connection to the server.
|
java.lang.String |
synchronousCall(java.lang.String message)
Passes the message across to the server and calls ServerEmbeddedASDelegate.synchronousCall.
|
java.lang.String synchronousCall(java.lang.String message)
message
- the message sent to the servervoid asynchronousCall(java.lang.String message, ClientEmbeddedASDelegate.Listener listener)
message
- the message sent to the server.listener
- the Listener that is called whenever the server sends a message and when the call completes.void close()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.