Local transport doesn't need to support setInterestOps
This commit is contained in:
parent
6c57969348
commit
731c0d94f3
@ -81,7 +81,8 @@ final class LocalClientChannelSink extends AbstractChannelSink {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INTEREST_OPS:
|
case INTEREST_OPS:
|
||||||
// TODO: Implement traffic control.
|
// Unsupported - discard silently.
|
||||||
|
future.setSuccess();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,8 @@ final class LocalServerChannelSink extends AbstractChannelSink {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INTEREST_OPS:
|
case INTEREST_OPS:
|
||||||
// TODO: Implement traffic control
|
// Unsupported - discard silently.
|
||||||
|
future.setSuccess();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if (e instanceof MessageEvent) {
|
} else if (e instanceof MessageEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user