| Modifier and Type | Field and Description |
|---|---|
| private final UID | ackID
identifier for gc ack |
| private final Connection | conn
connection associated with ConnectionOutputStream |
| private DGCAckHandler | dgcAckHandler
to store refs to returned remote object until DGC ack is received |
| private final boolean | resultStream
indicates whether output stream is used to marshal results |
| Access | Constructor and Description |
|---|---|
| pack-priv | ConnectionOutputStream(Connection conn, boolean
indicates whether this stream is used
to marshal return results resultStream)Constructs an marshal output stream using the underlying stream associated with the connection, the parameter c. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv DGCAckHandler | getDGCAckHandler()
Returns this stream's DGCAckHandler, or null if it doesn't have one (saveObject was not invoked). |
| pack-priv boolean | isResultStream()
Returns true if this output stream is used to marshal return results; otherwise returns false. |
| pack-priv void | |
| pack-priv void |
| ackID | back to summary |
|---|---|
| private final UID ackID identifier for gc ack | |
| conn | back to summary |
|---|---|
| private final Connection conn connection associated with ConnectionOutputStream | |
| dgcAckHandler | back to summary |
|---|---|
| private DGCAckHandler dgcAckHandler to store refs to returned remote object until DGC ack is received | |
| resultStream | back to summary |
|---|---|
| private final boolean resultStream indicates whether output stream is used to marshal results | |
| ConnectionOutputStream | back to summary |
|---|---|
| pack-priv ConnectionOutputStream(Connection conn, boolean resultStream) throws IOException Constructs an marshal output stream using the underlying stream associated with the connection, the parameter c.
| |
| done | back to summary |
|---|---|
| pack-priv void done() | |
| getDGCAckHandler | back to summary |
|---|---|
| pack-priv DGCAckHandler getDGCAckHandler() Returns this stream's DGCAckHandler, or null if it doesn't have one (saveObject was not invoked). This method should only be invoked after all objects have been written to the stream, because future objects written may yet cause a DGCAckHandler to be created (by invoking saveObject). | |
| isResultStream | back to summary |
|---|---|
| pack-priv boolean isResultStream() Returns true if this output stream is used to marshal return results; otherwise returns false. | |
| saveObject | back to summary |
|---|---|
| pack-priv void saveObject(Object obj) Saves a reference to the specified object in this stream's DGCAckHandler. | |
| writeID | back to summary |
|---|---|
| pack-priv void writeID() throws IOException | |