Collaboration diagram for InputStream:
Private Methods | |
public | InputStream (Connection c) |
public | InputStream (java.io.InputStream i) |
private int | read () throws IOException, MPSException |
private void | open () throws MPSException |
public int | readint () throws MPSException |
public String | readstring () throws MPSException |
public boolean | readbool () throws MPSException |
public long | readlong () throws MPSException |
public char | readchar () throws MPSException |
public String | readReference () throws MPSException |
public float | readfloat () throws MPSException |
Private Attributes | |
private Connection | connection |
private java io InputStream | input |
Uses a Connection object to talk to the other end.
Definition at line 49 of file InputStream.java.
|
Construct an InputStream which decodes the bits coming from a Connection object.
Definition at line 59 of file InputStream.java. |
|
Construct an InputStream which decodes bits from an arbitrary inputstream.
Definition at line 70 of file InputStream.java. |
|
Causes the connection to the server to open, if it isn't already open.
Definition at line 97 of file InputStream.java. Referenced by readbool(), readchar(), readfloat(), readint(), readlong(), and readstring(). |
|
Reads a single byte from the server.
Definition at line 82 of file InputStream.java. Referenced by readbool(), readchar(), readint(), readlong(), and readstring(). |
|
Reads the canonical (bound) name of an MPS object from the remote end of the link.
Definition at line 212 of file InputStream.java. |
|
Reads a single boolean from the server.
Definition at line 156 of file InputStream.java. |
|
Reads a single char from the server.
Definition at line 195 of file InputStream.java. |
|
Reads a single float from the server.
Definition at line 222 of file InputStream.java. |
|
Reads a single int from the server.
Definition at line 108 of file InputStream.java. Referenced by Proxy::getInputStream(), readfloat(), and Server::Runnable::run(). |
|
Reads a single 64-bit long from the server.
Definition at line 171 of file InputStream.java. |
|
Reads a single java.lang.String from the server.
Definition at line 129 of file InputStream.java. Referenced by readReference(). |
|
Definition at line 50 of file InputStream.java. |
|
Definition at line 51 of file InputStream.java. |