Package io.hekate.messaging.operation
Interface ResponsePart<T>
-
- Type Parameters:
T
- Payload type.
- All Superinterfaces:
MessageBase<T>
,Response<T>
public interface ResponsePart<T> extends Response<T>
Partial response of aSubscribe
operation.- See Also:
MessagingChannel.newSubscribe(Object)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLastPart()
Returnstrue
if this is the final part of a response.
-
-
-
Method Detail
-
isLastPart
boolean isLastPart()
Returnstrue
if this is the final part of a response. Returnsfalse
if this message represents a partial response that was produced by theMessage.partialReply(Object, SendCallback)
method.- Returns:
true
if this is the final part of a response.- See Also:
MessagingChannel.newSubscribe(Object)
-
-