public class Sender extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
boolean |
isConnected() |
void |
send(ByteBuffer buffer) |
public Sender(String host, int port)
public void connect()
throws IOException
IOExceptionpublic boolean isConnected()
public void send(ByteBuffer buffer) throws IOException
IOExceptionpublic void disconnect()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.