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 dataIOException
void endStream() throws IOException
IOException
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.