Data channel uses this interface to write the incoming data. Implement it to provide your own ways of storing data. It must be thread safe; in parallel transfer mode several streams may attempt to write.
void
close()
write(Buffer buffer)
public void write(Buffer buffer) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException