T - data container accepted by the channel.@Contract(threading=SAFE) public interface StreamChannel<T extends Buffer>
Implementations are expected to be thread-safe.
int write(T src) throws IOException
src - source of dataIOExceptionvoid endStream()
throws IOException
IOExceptionCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.