public class TCPSender extends Sender<TCPSender.Config>
| Modifier and Type | Class and Description |
|---|---|
static class |
TCPSender.Config |
static class |
TCPSender.UnmatchedAckException |
| Constructor and Description |
|---|
TCPSender(TCPSender.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getHost() |
int |
getPort() |
protected void |
sendInternal(java.util.List<java.nio.ByteBuffer> dataList,
byte[] ackToken) |
send, send, sendWithAck, toStringpublic TCPSender(TCPSender.Config config)
public java.lang.String getHost()
public int getPort()
protected void sendInternal(java.util.List<java.nio.ByteBuffer> dataList,
byte[] ackToken)
throws java.io.IOException
sendInternal in class Sender<TCPSender.Config>java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException