M
- The type of message that the sub-class is able to handlepublic abstract class AbstractSpecializedSender<M> extends Object implements SpecializedSender<M>
Constructor and Description |
---|
AbstractSpecializedSender() |
Modifier and Type | Method and Description |
---|---|
void |
send(Message message)
Sends the message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
send
public void send(Message message) throws MessageException
MessageSender
send
in interface MessageSender
message
- the message to sendMessageException
- when the message couldn't be sentCopyright © 2021. All rights reserved.