Package wt.method
Class WriterProxy
java.lang.Object
wt.method.WriterProxy
- All Implemented Interfaces:
Serializable
A Windchill RMI method server argument class to proxy a Writer
from server-side code to a client-side Writer. It works whether
the client and server code are separate or colocated in the same process.
Supported API: true
Supported API: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidSignal the end of proxied output.Get writer in server that will write to client's writer.
-
Method Details
-
getWriter
Get writer in server that will write to client's writer. Caller MUST call closeWriter in a finally block when done writing. The returned output stream is already buffered for efficient transfer.
Supported API: true- Throws:
IOException
-
closeWriter
Signal the end of proxied output. This is required by the communication protocol, but it does not close the client's output stream.
Supported API: true- Throws:
IOException
-