Collaboration diagram for Proxy:
Private Methods | |
protected | Proxy (String resolvedName) throws MPSException |
public void | _disconnect_proxy () throws MPSException |
protected String | getReference () |
protected org hebe mps OutputStream | getOutputStream () |
protected org hebe mps InputStream | getInputStream () throws MPSException |
Private Attributes | |
private org hebe mps Connection | _connection |
private org hebe mps OutputStream | _output |
private org hebe mps InputStream | _input |
It maintains a Connection object and an InputStream and an OutputStream. There is very little behaviour on this object - the automatically-generated subclasses provide all the functionality by making use of this object's protected member variables.
Definition at line 52 of file Proxy.java.
|
Only invoked by subclass constructors. Creates a connection to the named object, possibly using the naming service passed in, if it is not null.
Definition at line 68 of file Proxy.java. |
|
Disconnects this client proxy from the server. Closes the socket. It'd be nice if eventually this was reversible - subsequent calls to methods on the proxy should transparently reconnect and succeed, but currently once the connection is gone, it's gone.
Definition at line 85 of file Proxy.java. |
|
Returns a handle on this proxy's input stream for communication from the server.
Definition at line 114 of file Proxy.java. |
|
Returns a handle on this proxy's output stream for communication with the server.
Definition at line 105 of file Proxy.java. |
|
Retrieve the canonical name of the server this proxy is connected to. Used (occasionally) to pass references to MPS objects around between MPS interfaces.
Definition at line 97 of file Proxy.java. Referenced by OutputStream::writeReference(). |
|
The connection to the remote object server.
Definition at line 54 of file Proxy.java. |
|
Pipe used when receiving messages from the remote server.
Definition at line 58 of file Proxy.java. |
|
Pipe used when sending messages to the remote server.
Definition at line 56 of file Proxy.java. |