Interface ObjectChannel<T>
- Type Parameters:
T- object type accepted by the channel.
Abstract object stream channel.
Implementations are expected to be thread-safe.
- Since:
- 5.5
-
Method Summary
-
Method Details
-
write
Writes serialized object into the underlying data stream.- Parameters:
obj- object- Returns:
- The number of elements written, possibly zero
- Throws:
IOException
-
endStream
Terminates the underlying data stream and optionally writes a closing sequence.- Throws:
IOException
-