T
- request class typeR
- response class typeMessaging.RequestHandler
.@Deprecated public static interface MessagingControl.RequestHandler<T,R> extends Stream
Modifier and Type | Interface and Description |
---|---|
static interface |
MessagingControl.RequestHandler.RequestContext
Deprecated.
Context of the request received.
|
static interface |
MessagingControl.RequestHandler.Responder<R>
Deprecated.
Since 6.5. Use
Messaging.RequestStream.Responder . |
Stream.Default
Modifier and Type | Method and Description |
---|---|
void |
onRequest(T request,
MessagingControl.RequestHandler.RequestContext context,
MessagingControl.RequestHandler.Responder<R> responder)
Deprecated.
Called to indicate a request has been received.
|
void onRequest(T request, MessagingControl.RequestHandler.RequestContext context, MessagingControl.RequestHandler.Responder<R> responder)
request
- request that was receivedcontext
- context object that provides the session id (session
that sent the request), path and session properties.responder
- responder to dispatch a response back to the
requesterCopyright © 2020 Push Technology Ltd. All Rights Reserved.