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, unread
close, closeWrite, flush, getOutputStream, print, print, write, write
isEOF, seek, stat
cleanup
void init() throws java.io.IOException
java.io.IOException
void bind(java.net.SocketAddress address) throws java.io.IOException
java.io.IOException
void connect(java.net.SocketAddress address) throws java.io.IOException
java.io.IOException
void setError(int error)
void setTimeout(long timeout)
boolean isConnected()