Commit Graph

107 Commits

Author SHA1 Message Date
norman
d56aa76911 Revert "Set source java version to 1.7 where needed. See #312" as it breaks the build
This reverts commit d62977b061.
2012-05-10 10:06:38 +02:00
norman
d62977b061 Set source java version to 1.7 where needed. See #312 2012-05-10 08:09:31 +02:00
norman
27358352ac Make sure all MultiCast configuration settings are possible with NIO. See #313 2012-05-09 07:49:18 +02:00
norman
2cd6386a37 Make sure all MultiCast configuration settings are possible with NIO. See #313 2012-05-09 07:45:40 +02:00
norman
781e628dd8 Let ChannelLocal implement Iterable. See #307 2012-05-04 13:23:32 +02:00
norman
202df0618c Remove workaround for ipv6 link-localaddresses as it not work on most os / jdk versions. See #267 and #295 2012-05-02 07:39:02 +02:00
Norman Maurer
b2e77beb46 We need to set the exception on each MessageEvent. See #293 2012-05-01 12:00:36 +02:00
Norman Maurer
2a70df1c1c Optimize AbstractNioWorker.cleanUpWriteBuffer(..). See #293 2012-04-30 20:26:44 +02:00
norman
9d555b0b97 OioWorker failed to fire channelConnected event for OioAcceptedSocketChannel which is fixed now. This also fix a race which can could lead to missing events. See #287 2012-04-26 14:53:31 +02:00
norman
a8b9e27c92 NioDatagramWorker.ChannelRegistionTask should handle ClosedChannelException gracefully. See #281 and #277 2012-04-25 09:24:51 +02:00
Norman Maurer
6e2e9fb3c5 Use gathering writes if java version is >= 7 . See #269 and #271 2012-04-24 20:32:06 +02:00
Norman Maurer
5f6b419bb9 Allow to specify the local address when connect. See #276 2012-04-21 16:00:23 +02:00
Norman Maurer
2db3e59a6c Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267 2012-04-17 09:56:15 +02:00
Cruz Bishop
a682b018b2 More logging 2012-04-15 19:18:35 +10:00
Cruz Bishop
a20ab9184e Use loggers in some more classes 2012-04-15 17:49:04 +10:00
norman
941e71de36 cleanup comments 2012-04-12 09:29:59 +02:00
norman
962a67dc03 Add final keyword 2012-04-11 09:16:27 +02:00
norman
5b53b66fbf Allow to share a WorkerPool for boss and worker threads but also allow to have them separate. See #240 2012-04-11 09:15:02 +02:00
norman
470c1a898a Fix a bug which lead to only use two threads for all tasks all the time, even if the WorkerPool contained more. See #240 2012-04-11 08:45:51 +02:00
norman
f17e56b33b Accept all ready sockets for the SelectionKey. See #240 2012-04-10 11:18:34 +02:00
Norman Maurer
16bbd31330 Await for close of the channels. See #235 2012-04-09 20:07:45 +02:00
Norman Maurer
7045831687 Correct javadoc. See #235 2012-04-09 20:02:33 +02:00
Norman Maurer
32d327ede2 Take care of releasing the local channel when releaseExternalResources() is called. See #235 2012-04-09 20:00:20 +02:00
Norman Maurer
968b9103b3 Add test case to show that issue #235 is due some incorrect usage 2012-04-09 16:35:56 +02:00
Norman Maurer
778f4a3cbc Make sure Future get notified before event is fired. See #254 2012-04-07 21:56:58 +02:00
norman
389845b4c9 Make sure Channel connected event is not fired on connect failure. See #249 2012-04-04 07:40:50 +02:00
norman
805270c5d9 Finish support for UDP Multicast in UDP. See #216 2012-04-03 12:04:33 +02:00
Norman Maurer
9c1f3c6fe8 Fix UDP nio impl and add simple tests 2012-04-02 21:02:41 +02:00
Norman Maurer
dd6069c681 Fix broken UDP support. This got broken in 3.4.0.Alpha1 2012-04-02 19:37:28 +02:00
norman
023227917f cleanup 2012-04-02 15:27:40 +02:00
norman
221a77409a Only use the source address to join a multicast group if it was specified. See #216 2012-04-02 15:25:40 +02:00
norman
7f8408065b Fix UDP Multicast writes. See #237 2012-04-02 14:22:13 +02:00
norman
b350e8d289 Fix UDP Multicast writes. See #237 2012-04-02 14:20:40 +02:00
norman
9b90e3191a Finish support of NIO UDP multicast. This also change the methods to
return a ChannelFuture. See #216
2012-04-02 11:57:32 +02:00
norman
72f9f502bb Add support for UDP multicast in NIO. See #216
Add some javadocs. See #216

Use the correct key to lookup MembershipKey. See #216
2012-04-02 11:14:31 +02:00
norman
373c356067 Merge branch 'sctp_refactoring'
Conflicts:
	transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java
2012-04-02 11:02:54 +02:00
Norman Maurer
c02d38a728 :Correctly handle interestedOps changes 2012-03-30 21:56:46 +02:00
Norman Maurer
f154c480e0 :Correctly handle interestedOps changes 2012-03-30 21:15:43 +02:00
Norman Maurer
732b11e7d5 Fix race 2012-03-30 16:23:10 +03:00
norman
4afd038fc0 Fix race 2012-03-30 15:21:26 +02:00
norman
c3e51af849 Check before casting 2012-03-30 14:29:26 +02:00
norman
a85f22e173 Code cleanup 2012-03-30 11:21:26 +02:00
norman
a60eecaa0c Refactor sctp to share code with nio 2012-03-30 11:07:43 +02:00
Trustin Lee
fd0b0a4e2b Code cleanup 2012-03-30 12:48:28 +09:00
Norman Maurer
b98516536e Introduce the JdkChannel interface and implementation. This will allow
us to also share all our nio code in the SCTP implementation.
2012-03-29 17:07:19 +02:00
norman
b145a8a0d4 add some todo and comment a failing test on windows. This test also
fails in master branch. See #240
2012-03-29 13:51:40 +02:00
norman
dded63b22c Make sure we use the same Worker in the client during its lifetime. See
#240
2012-03-29 12:02:29 +02:00
Norman Maurer
60d9364604 First round of remove the boss-thread. See #240 2012-03-28 20:19:39 +02:00
norman
0c3a33f83b Add no-args constructor for simple use-cases 2012-03-27 09:29:43 +02:00
norman
d68b104969 Make sure AbstractNioWorker.setInterestOps(..) will notify the future
and the handlers in all cases. See #238
2012-03-20 15:18:33 +01:00