com.caucho.quercus.lib.file
Interface SocketInputOutput
- All Superinterfaces:
- BinaryInput, BinaryOutput, BinaryStream, EnvCleanup
- All Known Implementing Classes:
- TcpInputOutput, UdpInputOutput
public interface SocketInputOutput
- extends BinaryInput, BinaryOutput, EnvCleanup
Represents read/write stream
Method Summary |
void |
bind(java.net.SocketAddress address)
|
void |
connect(java.net.SocketAddress address)
|
void |
init()
|
void |
setError(int error)
|
void |
setTimeout(long timeout)
|
Methods inherited from interface com.caucho.quercus.lib.file.BinaryInput |
appendTo, close, closeRead, getAvailable, getInputStream, getPosition, openCopy, read, read, read, readLine, readOptionalLinefeed, setPosition, unread |
init
void init()
throws java.io.IOException
- Throws:
java.io.IOException
bind
void bind(java.net.SocketAddress address)
throws java.io.IOException
- Throws:
java.io.IOException
connect
void connect(java.net.SocketAddress address)
throws java.io.IOException
- Throws:
java.io.IOException
setError
void setError(int error)
setTimeout
void setTimeout(long timeout)