@ProviderType
public interface SocketIOAckListener
SocketIOEmitter.emit(String, org.apache.sling.commons.json.JSONArray)
calls.Modifier and Type | Method and Description |
---|---|
long |
getCallbackTimeout()
Allows the listener to specify a time for the callback timeout.
|
void |
onAck(JSONArray data)
Called when the ack is received.
|
void |
onTimeout()
Called when waiting for the ack response timed out.
|
long getCallbackTimeout()
void onAck(@Nonnull JSONArray data)
data
- the datavoid onTimeout()
Copyright © 2010 - 2023 Adobe. All Rights Reserved