public class MultiplexSendBytesService extends java.lang.Object implements SendBytesService
| Constructor and Description |
|---|
MultiplexSendBytesService(java.lang.String name,
java.util.List<java.lang.String> remoteHostsList,
int port,
WriteByteStrategy writeByteStrategy,
long reconnectionDelay,
int queueSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDebug() |
void |
sendBytes(byte[] serialized)
A byte-sender is expected to send the given byte array if possible.
|
void |
setDebug(boolean debug) |
void |
shutDown() |
void |
startUp() |
public MultiplexSendBytesService(java.lang.String name,
java.util.List<java.lang.String> remoteHostsList,
int port,
WriteByteStrategy writeByteStrategy,
long reconnectionDelay,
int queueSize)
public boolean isDebug()
public void setDebug(boolean debug)
public void startUp()
startUp in interface SendBytesServicepublic void shutDown()
shutDown in interface SendBytesServicepublic void sendBytes(byte[] serialized)
SendBytesServicesendBytes in interface SendBytesServiceserialized - the bytes to send.