public final class MessageAssembler extends Object implements AutoCloseable
MessageSlicer
.MessageSlicer
Modifier and Type | Class and Description |
---|---|
static class |
MessageAssembler.Builder |
Modifier and Type | Method and Description |
---|---|
static MessageAssembler.Builder |
builder()
Returns a new Builder for creating MessageAssembler instances.
|
void |
checkExpiredAssembledMessageState()
Checks for and removes assembled message state that has expired due to inactivity from the slicing component
on the other end.
|
void |
close() |
boolean |
handleMessage(Object message,
akka.actor.ActorRef sendTo)
Invoked to handle message slices and other messages pertaining to this class.
|
static boolean |
isHandledMessage(Object message)
Checks if the given message is handled by this class.
|
public static MessageAssembler.Builder builder()
public static boolean isHandledMessage(Object message)
handleMessage(Object, ActorRef)
methodmessage
- the message to checkpublic void close()
close
in interface AutoCloseable
public void checkExpiredAssembledMessageState()
public boolean handleMessage(Object message, @Nonnull akka.actor.ActorRef sendTo)
message
- the messagesendTo
- the reference of the actor to which subsequent message slices should be sentCopyright © 2019 OpenDaylight. All rights reserved.