public interface AEConnection
Modifier and Type | Method and Description |
---|---|
ConnectionAttributes |
getSessionInfo()
Returns information about the current UC4 Session.
|
java.lang.String |
sendRequest(XMLRequest sendableMessage,
IResponseHandler handler)
Sends an message to the UC4 Server.
|
void |
sendRequestAndWait(XMLRequest sendableMessage)
Sends a message to the UC4 Server and waits for the response.
|
ConnectionAttributes getSessionInfo()
java.lang.String sendRequest(XMLRequest sendableMessage, IResponseHandler handler) throws java.io.IOException
After the request is sent to the UC4 Server the method call returns immediately. When the response to this request arrives the IResponseHandler will be called.
sendableMessage
- Object which implements the XMLRequest
Interfacehandler
- Response Handlerjava.io.IOException
- If an I/O error occursvoid sendRequestAndWait(XMLRequest sendableMessage) throws java.io.IOException
sendableMessage
- XML requestjava.io.IOException
- If an I/O error occurs