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
Norman Maurer
0beaa107b4
Fix assert usage. Thanks Trustin for review
2012-02-27 20:45:46 +01:00
Norman Maurer
cfe7b49594
Cleaner impl of AbstractNioChannelSink and AbstractOioChannelSink. See
...
#140 and #187
2012-02-25 17:11:14 +01:00
Norman Maurer
f2d1f1e8ad
Also fix the exception handling if a ChannelHandler throws an Exception
...
based of if its a io thread or not. See #187 and #140
2012-02-25 15:54:33 +01:00
Norman Maurer
ef64e8c332
oio and nio transport now make sure that a upstream event get only
...
executed from an io thread. See #140 and #187
2012-02-25 15:12:58 +01:00
Norman Maurer
c4a437e16b
Fix later sending of exceptionCaught events. See #187 and #140
2012-02-25 14:30:10 +01:00
Norman Maurer
04a6ff92af
Add static helper methods to fire upstream events later. See #187 and
...
#140
2012-02-25 14:28:43 +01:00
Norman Maurer
301a17c029
Rename method to better reflect its usage and update some javadocs. See
...
#187 and #140
2012-02-25 14:19:11 +01:00
Norman Maurer
c2bc463d61
Optimize the handling of fireEventLater if the current thread is the
...
worker thread. See #187 and #140
2012-02-24 22:03:32 +01:00
Norman Maurer
5fdd2dea12
Make it possible to schedule upstream events to get fired later in the
...
io-thread. This is the first part of #140 and #187
2012-02-24 20:26:50 +01:00
norman
2e36932097
Merge branch 'master' into remove_duplication
...
Conflicts:
transport/src/main/java/io/netty/channel/socket/nio/NioDatagramWorker.java
transport/src/main/java/io/netty/channel/socket/nio/NioWorker.java
2012-02-21 08:25:59 +01:00
Norman Maurer
eafd8343eb
Remove some casting. See #186
2012-02-19 13:59:09 +01:00
Jestan Nirojan
7dbb8d2b8f
fixed checkstyle build failures
2012-02-19 12:38:39 +05:30
Jestan Nirojan
20d7379c53
merge upstream master
2012-02-19 12:37:50 +05:30
Norman Maurer
812a9026b8
Start to refactor nio transport to share more code. See #186
2012-02-18 23:02:56 +01:00
Norman Maurer
65be9ebd44
Start to refactor oio transport to share more code. See #186
2012-02-17 20:33:18 +01:00
norman
479def20bd
Check if logging level is enabled before log. See #192
2012-02-17 10:37:41 +01:00