Package org.apache.qpid.protonj2.client
Interface StreamReceiverMessage
- All Superinterfaces:
- AdvancedMessage<InputStream>,- Message<InputStream>
- All Known Implementing Classes:
- ClientStreamReceiverMessage
A specialized 
Message type that represents a streamed delivery possibly
 spanning many incoming Transfer frames from the remote peer.  It is possible
 for various calls in this StreamReceiverMessage to block while awaiting the
 receipt of sufficient bytes to provide the result.- 
Method SummaryModifier and TypeMethodDescriptionbooleanaborted()Check if theStreamDeliverythat was assigned to thisStreamReceiverMessagehas been marked as aborted by the remote.booleanCheck if theStreamDeliverythat was assigned to thisStreamReceiverMessagehas been marked as complete by the remote.delivery()receiver()Methods inherited from interface org.apache.qpid.protonj2.client.AdvancedMessageaddBodySection, annotations, annotations, applicationProperties, applicationProperties, bodySections, bodySections, clearBodySections, encode, encode, footer, footer, forEachBodySection, header, header, messageFormat, messageFormat, properties, propertiesMethods inherited from interface org.apache.qpid.protonj2.client.MessageabsoluteExpiryTime, absoluteExpiryTime, annotation, annotation, body, body, contentEncoding, contentEncoding, contentType, contentType, correlationId, correlationId, creationTime, creationTime, deliveryCount, deliveryCount, durable, durable, firstAcquirer, firstAcquirer, footer, footer, forEachAnnotation, forEachFooter, forEachProperty, groupId, groupId, groupSequence, groupSequence, hasAnnotation, hasAnnotations, hasFooter, hasFooters, hasProperties, hasProperty, messageId, messageId, priority, priority, property, property, removeAnnotation, removeFooter, removeProperty, replyTo, replyTo, replyToGroupId, replyToGroupId, subject, subject, timeToLive, timeToLive, to, to, toAdvancedMessage, userId, userId
- 
Method Details- 
deliveryStreamDelivery delivery()- Returns:
- the StreamDeliverythat is associated with the life-cycle of thisStreamReceiverMessage
 
- 
receiverStreamReceiver receiver()- Returns:
- the StreamReceiverthat this context was create under.
 
- 
abortedboolean aborted()Check if theStreamDeliverythat was assigned to thisStreamReceiverMessagehas been marked as aborted by the remote.- Returns:
- true if this context has been marked as aborted previously.
 
- 
completedboolean completed()Check if theStreamDeliverythat was assigned to thisStreamReceiverMessagehas been marked as complete by the remote.- Returns:
- true if this context has been marked as being the complete.
 
 
-