Channels are open upon creation, and can be explicitly closed. Once a channel is closed it cannot be re-opened, and attempts to perform IO operations on the closed channel result in a ClosedChannelException
.
Particular implementations or sub-interfaces of Channel dictate whther they are thread-safe or not.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|