public interface ChannelPipedSink extends Channel
Modifier and Type | Method and Description |
---|---|
void |
eof()
Signal end of writing to the sink
|
void |
receive(byte[] bytes,
int off,
int len) |
void receive(byte[] bytes, int off, int len) throws IOException
bytes
- Bytes to be sent to the sinkoff
- Offset in bufferlen
- Number of bytesIOException
- If failed to send the datavoid eof()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.