public interface SocketConnection extends StreamConnection
| Modifier and Type | Field and Description |
|---|---|
static byte |
DELAY |
static byte |
KEEPALIVE |
static byte |
LINGER |
static byte |
RCVBUF |
static byte |
SNDBUF |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getLocalAddress() |
int |
getLocalPort() |
int |
getPort() |
int |
getSocketOption(byte var0) |
void |
setSocketOption(byte var0,
int var1) |
openDataInputStream, openInputStreamopenDataOutputStream, openOutputStreamclosestatic final byte DELAY
static final byte KEEPALIVE
static final byte LINGER
static final byte RCVBUF
static final byte SNDBUF
String getAddress() throws IOException
IOExceptionString getLocalAddress() throws IOException
IOExceptionint getLocalPort()
throws IOException
IOExceptionint getPort()
throws IOException
IOExceptionint getSocketOption(byte var0)
throws IOException
IOExceptionvoid setSocketOption(byte var0,
int var1)
throws IOException
IOException