|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream java.io.FilterInputStream gnu.x11.ResponseInputStream
public class ResponseInputStream
Reads response data from the X server.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Method Summary | |
---|---|
void |
pad(int n)
|
java.util.List |
pull_all_events()
Pulls all pending events out of the queue. |
boolean |
read_bool()
|
int |
read_byte()
Reads an (unsigned) byte value from the underlying stream. |
void |
read_data(byte[] buf)
|
void |
read_data(byte[] buf,
int offset,
int len)
|
Event |
read_event()
|
float |
read_float32()
|
double |
read_float64()
|
int |
read_int16()
Reads an INT16 value from the stream. |
int |
read_int32()
Reads an INT32 value from the stream. |
long |
read_int64()
Reads an INT32 value from the stream. |
int |
read_int8()
|
void |
read_reply(RequestOutputStream out)
Flushes the currently pending request and starts reading the reply. |
java.lang.String |
read_string8(int len)
|
long |
skip(long n)
Skips n bytes in the stream. |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, read, read, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public long skip(long n)
skip
in class java.io.FilterInputStream
n
- the number of bytes to skip
public int read_int8()
public int read_int16()
public int read_int32()
public long read_int64()
public float read_float32()
public double read_float64()
public java.lang.String read_string8(int len)
public void pad(int n)
public boolean read_bool()
public int read_byte()
public void read_data(byte[] buf, int offset, int len)
public void read_data(byte[] buf)
public Event read_event()
public java.util.List pull_all_events()
public void read_reply(RequestOutputStream out)
seq_no
- the sequence number of the request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |