_STATE_CR
(package private) static final int _STATE_CR
- 8
_STATE_DATA
(package private) static final int _STATE_DATA
- 0
_STATE_DO
(package private) static final int _STATE_DO
- 4
_STATE_DONT
(package private) static final int _STATE_DONT
- 5
_STATE_IAC
(package private) static final int _STATE_IAC
- 1
_STATE_IAC_SB
(package private) static final int _STATE_IAC_SB
- 9
_STATE_SB
(package private) static final int _STATE_SB
- 6
_STATE_SE
(package private) static final int _STATE_SE
- 7
_STATE_WILL
(package private) static final int _STATE_WILL
- 2
_STATE_WONT
(package private) static final int _STATE_WONT
- 3
__bytesAvailable
private int __bytesAvailable
__hasReachedEOF
private boolean __hasReachedEOF
__ioException
private IOException __ioException
__isClosed
private boolean __isClosed
__queue
private int[] __queue
__queueHead
private int __queueHead
__queueTail
private int __queueTail
__readIsWaiting
private boolean __readIsWaiting
__receiveState
private int __receiveState
__suboption
private int[] __suboption
__suboption_count
private int __suboption_count
__thread
private Thread __thread
__threaded
private boolean __threaded
_ayt_flag
private boolean _ayt_flag
__processChar
private void __processChar(int ch)
throws InterruptedException
__read
private int __read()
throws IOException
_start
(package private) void _start()
available
public int available()
throws IOException
close
public void close()
throws IOException
markSupported
public boolean markSupported()
Returns false. Mark is not supported. **
read
public int read()
throws IOException
read
public int read(buffer[] )
throws IOException
Reads the next number of bytes from the stream into an array and
returns the number of bytes read. Returns -1 if the end of the
stream has been reached.
- The number of bytes read. Returns -1 if the
end of the message has been reached.
read
public int read(buffer[] ,
int offset,
int length)
throws IOException
Reads the next number of bytes from the stream into an array and returns
the number of bytes read. Returns -1 if the end of the
message has been reached. The characters are stored in the array
starting from the given offset and up to the length specified.
offset
- The offset into the array at which to start storing data.length
- The number of bytes to read.
- The number of bytes read. Returns -1 if the
end of the stream has been reached.