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 | Description |
---|---|---|
boolean |
failure(java.lang.Object failure) |
Returns the given
failure to the remote caller. |
org.cometd.bayeux.server.ServerSession |
getServerSession() |
|
boolean |
result(java.lang.Object result) |
Returns the given
result to the remote caller. |
org.cometd.bayeux.server.ServerSession getServerSession()
ServerSession
associated with this remote callerboolean result(java.lang.Object result)
Returns the given result
to the remote caller.
result
- the result to send to the remote callerboolean failure(java.lang.Object failure)
Returns the given failure
to the remote caller.
failure
- the failure to send to the remote callerCopyright © 2008–2017 The CometD Project. All rights reserved.