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;
case INTEREST_OPS:
// TODO: Implement traffic control.
// Unsupported - discard silently.
future.setSuccess();
break;
}
}

View File

@ -103,7 +103,8 @@ final class LocalServerChannelSink extends AbstractChannelSink {
}
break;
case INTEREST_OPS:
// TODO: Implement traffic control
// Unsupported - discard silently.
future.setSuccess();
break;
}
} else if (e instanceof MessageEvent) {