public interface ClientCtrl
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientCtrl.DestroyListener |
Modifier and Type | Method and Description |
---|---|
void |
destroy(DesktopAgent desktopAgent) |
void |
flush(java.lang.String desktopId)
flush the queued AU update event including piggyback events.
|
java.net.HttpURLConnection |
getConnection(java.lang.String path,
java.lang.String method)
get a connection with current session and cookie.
|
java.io.InputStream |
openConnection(java.lang.String path)
open a connection with current session and cookie.
|
void |
postPiggyback(java.lang.String desktopId,
java.lang.String targetUUID,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> data,
boolean ignorable)
post a piggyback asynchronous update event.
|
void |
postUpdate(java.lang.String desktopId,
java.lang.String targetUUID,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> data,
boolean ignorable)
post an asynchronous update event.
|
void |
setDestroyListener(ClientCtrl.DestroyListener l) |
void postUpdate(java.lang.String desktopId, java.lang.String targetUUID, java.lang.String command, java.util.Map<java.lang.String,java.lang.Object> data, boolean ignorable)
void postPiggyback(java.lang.String desktopId, java.lang.String targetUUID, java.lang.String command, java.util.Map<java.lang.String,java.lang.Object> data, boolean ignorable)
true
- indicated that it'svoid flush(java.lang.String desktopId)
void destroy(DesktopAgent desktopAgent)
void setDestroyListener(ClientCtrl.DestroyListener l)
java.io.InputStream openConnection(java.lang.String path) throws java.io.IOException
path
- connect to this pathjava.io.IOException
java.net.HttpURLConnection getConnection(java.lang.String path, java.lang.String method)
path
- connect to this pathmethod
- HTTP methodCopyright © 2019 Potix Corporation. All rights reserved.