| java.lang.Object tcl.lang.Channel tcl.lang.SocketChannel
SocketChannel | public class SocketChannel extends Channel (Code) | | The SocketChannel class implements a channel object for Socket
connections, created using the socket command.
|
Constructor Summary | |
public | SocketChannel(Interp interp, int mode, String localAddr, int localPort, boolean async, String address, int port) Constructor - creates a new SocketChannel object with the given
options. | public | SocketChannel(Interp interp, Socket s) Constructor for making SocketChannel objects from connections
made to a ServerSocket. |
SocketChannel | public SocketChannel(Interp interp, int mode, String localAddr, int localPort, boolean async, String address, int port) throws IOException, TclException(Code) | | Constructor - creates a new SocketChannel object with the given
options. Also creates an underlying Socket object, and Input and
Output Streams.
|
Methods inherited from tcl.lang.Channel | protected void checkRead(Interp interp) throws TclException(Code)(Java Doc) protected void checkWrite(Interp interp) throws TclException(Code)(Java Doc) void close() throws IOException(Code)(Java Doc) final boolean eof()(Code)(Java Doc) void flush(Interp interp) throws IOException, TclException(Code)(Java Doc) boolean getBlocking()(Code)(Java Doc) int getBufferSize()(Code)(Java Doc) int getBuffering()(Code)(Java Doc) String getChanName()(Code)(Java Doc) abstract String getChanType()(Code)(Java Doc) String getEncoding()(Code)(Java Doc) char getInputEofChar()(Code)(Java Doc) abstract protected InputStream getInputStream() throws IOException(Code)(Java Doc) int getInputTranslation()(Code)(Java Doc) int getNumBufferedInputBytes()(Code)(Java Doc) int getNumBufferedOutputBytes()(Code)(Java Doc) char getOutputEofChar()(Code)(Java Doc) abstract protected OutputStream getOutputStream() throws IOException(Code)(Java Doc) int getOutputTranslation()(Code)(Java Doc) int getRefCount()(Code)(Java Doc) protected void initInput() throws IOException(Code)(Java Doc) protected void initOutput() throws IOException(Code)(Java Doc) boolean inputSawCR()(Code)(Java Doc) boolean isBgFlushScheduled()(Code)(Java Doc) boolean isBlocked(Interp interp) throws TclException(Code)(Java Doc) boolean isReadOnly()(Code)(Java Doc) boolean isReadWrite()(Code)(Java Doc) boolean isWriteOnly()(Code)(Java Doc) int read(Interp interp, TclObject tobj, int readType, int numBytes) throws IOException, TclException(Code)(Java Doc) void seek(Interp interp, long offset, int mode) throws IOException, TclException(Code)(Java Doc) void setBlocking(boolean inBlocking)(Code)(Java Doc) void setBufferSize(int size)(Code)(Java Doc) void setBuffering(int inBuffering)(Code)(Java Doc) void setChanName(String chan)(Code)(Java Doc) void setEncoding(String inEncoding)(Code)(Java Doc) void setInputEofChar(char inEof)(Code)(Java Doc) void setInputTranslation(int translation)(Code)(Java Doc) void setOutputEofChar(char outEof)(Code)(Java Doc) void setOutputTranslation(int translation)(Code)(Java Doc) long tell() throws IOException(Code)(Java Doc) void write(Interp interp, TclObject outData) throws IOException, TclException(Code)(Java Doc) void write(Interp interp, String outStr) throws IOException, TclException(Code)(Java Doc)
|
|
|