public class PacketOutAdapter extends Object implements PacketOut
PacketOut
that provides default implementations
of the event methods. This class can be extended as an alternative to
implementing PacketOut directly, allowing subclasses to rely on
the default behavior of methods they don't want to implement themselves.Constructor and Description |
---|
PacketOutAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action)
Adds an action to the list of actions for this packet-out message.
|
void |
block()
Blocks any downstream directors from emitting a packet-out response.
|
void |
clearActions()
Clears any actions accrued so far, but leaves open the possibility
to add others.
|
void |
send()
Instructs the sequencer to send the packet-out response.
|
public void addAction(Action action)
PacketOut
public void clearActions()
PacketOut
clearActions
in interface PacketOut
public void block()
PacketOut
Copyright © 2016. All Rights Reserved.