Local transport doesn't need to support setInterestOps

This commit is contained in:
Trustin Lee 2009-03-12 08:30:23 +00:00
parent 6c57969348
commit 731c0d94f3
2 changed files with 4 additions and 2 deletions

View File

@ -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;
} }
} }

View File

@ -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) {