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
Norman Maurer
6e68577d54
Merge pull request #225 from netty/workerpool
...
Support of sharing a WorkerPool between Factories
2012-03-20 01:44:28 -07:00
norman
fd3d98cf62
Fix UDP Multicast writes. See #237
2012-03-20 09:43:00 +01:00
Norman Maurer
59ff76bd66
add javadocs
2012-03-07 17:55:37 +01:00
Norman Maurer
875d5ce513
Allow to force the execution of the Runnable in a async fashion even if
...
the IO-Thread is the current Thread
2012-03-07 17:52:49 +01:00
norman
e207af30a3
Make sure AbstractNioWorker gets started if needed
2012-03-07 15:37:33 +01:00
norman
6375b84c9d
Change Worker.executeInIoThread() to not need a Channel as paramater
2012-03-07 14:13:48 +01:00
norman
e8c64ea593
Make classes public
2012-03-07 13:30:45 +01:00
norman
0b0edea6bc
Make classes public
2012-03-07 13:29:55 +01:00
Norman Maurer
fd7e165fb6
Commit missing file
2012-03-06 20:06:29 +01:00
Norman Maurer
caff7c941b
Checkstyle fixes
2012-03-06 19:31:47 +01:00
Norman Maurer
bc47850bbe
Allow to obtain the Worker that was used to serve the IO of a Channel
2012-03-06 19:26:32 +01:00
Norman Maurer
e0e87ce2bc
Allow to share Workers by using a WorkerPool.
2012-03-06 19:26:10 +01:00
Norman Maurer
66f8de91b1
Make it more clear in the javadocs that you should use *Later methods to
...
send upstream events from a ChannelDownstreamHandler
2012-03-03 19:14:36 +01:00
Trustin Lee
9e8f8ac08c
Fix NPE in AbstractNioWorker / Uncomment setUseClientMode()
2012-03-01 14:27:32 -08:00
Trustin Lee
4158152b24
Trigger exceptionCaught event from the middle of the pipline ( #210 )
...
.. because the previous handlers have no interest in the exceptions
raised by the next handlers.
2012-02-29 14:02:12 -08:00
Trustin Lee
40e7a5d948
Clean up and Add missing JavaDoc
2012-02-29 13:53:26 -08:00
Trustin Lee
c62b47228e
Fix build failure
2012-02-29 13:26:35 -08:00
Norman Maurer
1589dadcce
Better handling of canceling. See #210 and #209
2012-02-29 21:37:26 +01:00
Norman Maurer
a545157f4b
Respect canceled tasks. See #209 and #210
2012-02-29 21:23:31 +01:00
Norman Maurer
8579f09c59
Merge pull request #210 from netty/threading_fix
...
Merge in fix for threading (related to #140 and #187 ). This also includes the new feature that allow to submit a Runnable that gets executed later in the io thread.
2012-02-29 12:11:46 -08:00
Norman Maurer
5f465da38d
Add final keyword
2012-02-29 21:08:18 +01:00
Norman Maurer
4df3c61233
Allow to submit a Runnable that get execute in the io-thread. This is
...
also used to workout flaws in the thread-model. See #209 #140 #187
2012-02-29 21:07:02 +01:00
Norman Maurer
0d66a36a14
Merge branch 'master' of ssh://github.com/netty/netty
2012-02-28 16:53:28 +01:00
Norman Maurer
40771f6faf
add empty line
2012-02-28 14:21:47 +01:00
Norman Maurer
19358ee246
Workaround for JDK NIO bug. See #203
2012-02-28 14:19:29 +01:00
Trustin Lee
2984f26f97
Decreased all selector timeout from 500 ms to 10 ms
...
See #204
2012-02-27 13:02:42 -08:00
Trustin Lee
4612568687
Fix #204 - Increate the granularity of connect timeout in NIO
...
* Changed the Selector timeout from 500 to 10 so that the timeout is checked every 10 milliseconds
2012-02-27 12:56:18 -08:00