Interface Messaging.RequestStream<T,R>
- Type Parameters:
T
- request typeR
- response type
- Enclosing interface:
- Messaging
Interface which specifies a request stream to receive request
notifications.
- Since:
- 6.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Responder interface to dispatch responses to requests.Nested classes/interfaces inherited from interface com.pushtechnology.diffusion.client.callbacks.Stream
Stream.Default
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRequest
(String path, T request, Messaging.RequestStream.Responder<R> responder) Called to indicate a request has been received.
-
Method Details
-
onRequest
Called to indicate a request has been received.- Parameters:
path
- path the request was sent onrequest
- request that was receivedresponder
- responder to dispatch a response back to the requester
-