@Override protected void doBeginRead() throws Exception { StreamConnection conn = connection(); if (conn == null) { return; } ConduitStreamSourceChannel source = conn.getSourceChannel(); if (!source.isReadResumed()) { source.resumeReads(); } }
private void removeReadOp(ConduitStreamSourceChannel channel) { if (channel.isReadResumed()) { channel.suspendReads(); } }