public interface MultiMsgCollector<T extends OfHeader>
Modifier and Type | Method and Description |
---|---|
void |
addMultipartMsg(T reply,
boolean reqMore,
EventIdentifier eventIdentifier)
Method adds a reply multipart message to the collection and if the message has marker
"I'M A LAST" method set whole Collection to Future object and remove from cache.
|
void |
endCollecting(EventIdentifier eventIdentifier)
Null response could be a valid end multipart collecting event for barrier response scenario.
|
void addMultipartMsg(@Nonnull T reply, boolean reqMore, @Nullable EventIdentifier eventIdentifier)
reply
- replyreqMore
- request more replieseventIdentifier
- event identifiervoid endCollecting(@Nullable EventIdentifier eventIdentifier)
eventIdentifier
- event identifierCopyright © 2019 OpenDaylight. All rights reserved.