public interface AEConnection
Modifier and Type | Method and Description |
---|---|
ConnectionAttributes |
getSessionInfo()
Returns information about the current UC4 Session.
|
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()
String sendRequest(XMLRequest sendableMessage, IResponseHandler handler) throws 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 HandlerIOException
- If an I/O error occursvoid sendRequestAndWait(XMLRequest sendableMessage) throws IOException
sendableMessage
- XML requestIOException
- If an I/O error occursCopyright © 2021. All rights reserved.