public static interface RemoteCall.Caller
Objects implementing this interface represent remote clients that performed remote calls.
Server-side applications may return a result or a failure via, respectively,
result(Object)
and failure(Object)
.
Modifier and Type | Method and Description |
---|---|
boolean |
failure(Object failure)
Returns the given
failure to the remote caller. |
ServerSession |
getServerSession() |
boolean |
result(Object result)
Returns the given
result to the remote caller. |
ServerSession getServerSession()
ServerSession
associated with this remote callerboolean result(Object result)
Returns the given result
to the remote caller.
result
- the result to send to the remote callerboolean failure(Object failure)
Returns the given failure
to the remote caller.
failure
- the failure to send to the remote callerCopyright © 2008–2024 The CometD Project. All rights reserved.