Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solve the issue [#80](https://github.com/barchart/barchart-udt/issues/80) #81

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[add] NioServerSoketUDT accpet
vector20240801 committed Mar 19, 2016

Verified

This commit was signed with the committer’s verified signature.
anurag4DSB Anurag Mittal
commit 2cf4d9921c0148ad60b2dabc70dfb9e6b6fb9ae5
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ protected NioServerSocketUDT(final ServerSocketChannelUDT channelUDT)

@Override
public Socket accept() throws IOException {
throw new RuntimeException("feature not available");
return channelUDT.accept().socket();
}

@Override
Original file line number Diff line number Diff line change
@@ -167,7 +167,6 @@ protected void doCancel() {
while (iterator.hasNext()) {
final SelectionKeyUDT keyUDT = iterator.next();
iterator.remove();
log.debug("have remove here{}", keyUDT.isValid());
// if (keyUDT.isValid()) {
this.deregister(keyUDT);
keyUDT.makeValid(false);