public interface SendBehavior
| Modifier and Type | Interface and Description |
|---|---|
static class |
SendBehavior.SendMethod |
| Modifier and Type | Method and Description |
|---|---|
SendBehavior.SendMethod |
tcpSendBehavior(Message message)
Returns the send behavior depending on the message to be sent over TCP.
|
SendBehavior.SendMethod |
udpSendBehavior(Message message)
Returns the send behavior depending on the message to be sent over UDP.
|
SendBehavior.SendMethod tcpSendBehavior(Message message)
message - the message to be sentSendBehavior.SendMethod udpSendBehavior(Message message) throws UnsupportedOperationException
message - the message to be sentUnsupportedOperationException - sending over UDP is not allowed for this message.Copyright © 2014. All rights reserved.