public interface MessageSinkEvent extends MessageEvent
CommandSource
sends a Text
message.Modifier and Type | Interface and Description |
---|---|
static interface |
MessageSinkEvent.Chat
Fired when the
Text being sent to a MessageSink was due to chatting. |
Modifier and Type | Method and Description |
---|---|
MessageSink |
getOriginalSink()
Gets the original sink that this message will be sent to.
|
MessageSink |
getSink()
Gets the current sink that this message will be sent to.
|
void |
setSink(MessageSink sink)
Set the target for this message to go to.
|
getMessage, getOriginalMessage, setMessage
isCancelled, setCancelled
getCause
MessageSink getOriginalSink()
MessageSink getSink()
void setSink(MessageSink sink)
sink
- The sink to set