public class AuEcho extends AuResponse
It is used by UiEngine
to solve a special
case.
There are two formats
AuResponse.JSONComponent, AuResponse.JSONDate
_cmd, _data, SC_ACTIVATION_TIMEOUT, SC_OUT_OF_SEQUENCE
Constructor and Description |
---|
AuEcho()
Constructs an echo response for each desktop in the same browser
window
|
AuEcho(Component comp,
java.lang.String evtnm,
java.lang.Object data)
Constructs an echo response that will cause an event to fire
when the client echoes back.
|
AuEcho(Component comp,
java.lang.String evtnm,
java.lang.String data)
Constructs an echo response that will cause an event to fire
when the client echoes back.
|
AuEcho(Desktop desktop)
Constructs an echo response with the specified desktop.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getData(Component comp,
java.lang.Object key)
Retrieves the data associated with an echo event.
|
java.lang.String |
getOverrideKey()
Default: "zk.echo" if
AuResponse.getDepends() is null (desktop level),
null if AuResponse.getDepends() is not null (component level). |
equals, getCommand, getDepends, getEncodedData, getRawData, hashCode, toString
public AuEcho(Desktop desktop)
desktop
- the desktop to send the echo response to.
If null, the echo response is sent to each desktop in the
same browser window.public AuEcho()
public AuEcho(Component comp, java.lang.String evtnm, java.lang.String data)
It is the same as AuEcho(comp, evtnm, (Object)data)
.
public AuEcho(Component comp, java.lang.String evtnm, java.lang.Object data)
comp
- the component to echo the event to (never null).evtnm
- the event namedata
- the extra information, or null if not availablepublic static java.lang.Object getData(Component comp, java.lang.Object key)
public final java.lang.String getOverrideKey()
AuResponse.getDepends()
is null (desktop level),
null if AuResponse.getDepends()
is not null (component level).getOverrideKey
in class AuResponse
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.