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


Nested Class Summary
static class SocketInputOutput.Domain
           
 
Field Summary
 
Fields inherited from interface com.caucho.quercus.lib.file.BinaryStream
SEEK_CUR, SEEK_END, SEEK_SET
 
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, getInputStream, getPosition, openCopy, read, read, read, readLine, readOptionalLinefeed, setPosition, unread
 
Methods inherited from interface com.caucho.quercus.lib.file.BinaryOutput
close, closeWrite, flush, getOutputStream, print, print, write, write
 
Methods inherited from interface com.caucho.quercus.lib.file.BinaryStream
isEOF, seek, stat
 
Methods inherited from interface com.caucho.quercus.env.EnvCleanup
cleanup
 

Method Detail

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)