public interface SocketInputOutput extends BinaryInput, BinaryOutput, EnvCleanup
| Modifier and Type | Interface and Description |
|---|---|
static class |
SocketInputOutput.Domain |
SEEK_CUR, SEEK_END, SEEK_SET| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.net.SocketAddress address) |
void |
connect(java.net.SocketAddress address) |
void |
init() |
boolean |
isConnected() |
void |
setError(int error) |
void |
setTimeout(long timeout) |
appendTo, close, closeRead, getAvailable, getInputStream, getPosition, openCopy, read, read, read, readLine, readOptionalLinefeed, setPosition, unreadclose, closeWrite, flush, getOutputStream, print, print, write, writeisEOF, seek, statcleanupvoid init() throws java.io.IOException
java.io.IOExceptionvoid bind(java.net.SocketAddress address) throws java.io.IOException
java.io.IOExceptionvoid connect(java.net.SocketAddress address)
throws java.io.IOException
java.io.IOExceptionvoid setError(int error)
void setTimeout(long timeout)
boolean isConnected()