Commit Graph

1977 Commits

Author SHA1 Message Date
vibul
16bf84dac1 Use WebSocketVersion enum rather than string literal 2011-12-15 16:42:25 +11:00
vibul
812a79fd52 Use websocket wire protocol version rather than specification version 2011-12-15 16:09:09 +11:00
Ryan Shelley
7037d995c9 Added support for custom headers to be added to websocket client connections 2011-12-14 19:00:36 -08:00
norman
a4bfc4011d Some cleanup and javadocs for the SEDA implementation. Also fixes a bug
in the ExecutionHandler which I introduces while working on SEDA. See
#111
2011-12-12 13:18:27 +01:00
norman
75a6414639 Add FineGrainedSedaExecutor which makes it easy to use different
Executors for different events. The idea is the same is in
SimpleChannelHandler. See #111
2011-12-12 08:41:50 +01:00
norman
b9e869545c Add special subclasses of MemoryAwareThreadPoolExecutor and
OrderedMemoryAwareThreadPoolExecutor which should be used for SEDA
processing. See #111
2011-12-12 08:21:53 +01:00
vibul
5be24a0943 Improve encoder/decoder "replace" in Web Socket Client handshake. 2011-12-11 21:55:36 +11:00
vibul
dc1655890e Removed io.netty.example.http.websocket because
io.netty.codec.http.websocket has been removed.
2011-12-11 21:13:26 +11:00
Ngoc Dao
5b9aa76efd Fix #116 2011-12-11 20:13:35 +11:00
Ngoc Dao
209ad9278f Use channel instead of context and cleanup unused method argument 2011-12-11 20:13:35 +11:00
Norman Maurer
427b784c6e DefaultChannelPipeline.replace() does not correctly replace a
ChannelHandler if name is preserved. See #113
2011-12-11 09:21:29 +01:00
Norman Maurer
5c4702245c Start to add handler for simple SEDA support. This handler supports to
offload upstream and downstream events. The SedaExecutor is responsible
for offload the events to different Executors. See #111
2011-12-10 21:28:18 +01:00
Trustin Lee
2efed0d6b1 No need to specify a default value 2011-12-09 15:11:53 +09:00
Trustin Lee
07f2c2e7da Better handshaker naming / Remove deprecated example / Hide UTF8 classes from users 2011-12-09 14:58:36 +09:00
Trustin Lee
54b8b501ee Remove old websocket package 2011-12-09 14:39:58 +09:00
Trustin Lee
679f33a986 More copyright updates 2011-12-09 14:28:48 +09:00
Trustin Lee
be64e2531f Regenerate LocalTimeProtocol 2011-12-09 14:24:33 +09:00
Trustin Lee
9f41a5a1f8 Update license header / Remove JBoss style 2011-12-09 14:18:34 +09:00
Trustin Lee
a254bf41e7 Fewer JBoss reference 2011-12-09 13:59:41 +09:00
Trustin Lee
59f39cae75 Remove @author and @version / Remove COPYRIGHT.txt
* The new copyright header replaces @author
* COPYRIGHT.txt is irrelevant to us now.
2011-12-09 13:43:34 +09:00
Trustin Lee
015daec3fa http://jboss.org/netty/ to http://netty.io/ 2011-12-09 12:46:59 +09:00
Trustin Lee
7518e98525 org.jboss.netty -> io.netty 2011-12-09 12:40:29 +09:00
Trustin Lee
6fdb7d9116 org.jboss.netty -> io.netty 2011-12-09 12:38:59 +09:00
norman
7d9879d5cc Only create UnsafeDynamicChannelBuffer if really needed. See #108 2011-12-08 14:34:30 +01:00
norman
229c8734ed Fields in ReplayingDecoder does not need atomic nature. See #108 2011-12-08 14:27:43 +01:00
Norman Maurer
27f9a0cee2 Merge pull request #105 from mariusaeriksen/master
Always cleanup() in ReplayingDecoder if we have received any messages at all.
2011-12-07 11:37:42 -08:00
marius a. eriksen
49c797fb3e ReplayingDecoder: keep explicit track of cleanup state.
This fixes a bug introduced by 1f3d35bd whereby cleanup() won't get
run if the cumulation buffer was emptied.  This is important for
codecs like HTTP: In particular, empty 200 OK responses without a
Content-Length header would fail to decode.
2011-12-07 11:19:09 -08:00
Jestan Nirojan
0a99e8bb57 prepared merge with upstream 2011-12-08 00:27:23 +05:30
Jestan Nirojan
f62bb850ec fixed a typo in a getter method 2011-12-08 00:14:04 +05:30
Jestan Nirojan
2f5f149b52 1)added some documentaion comments 2)minor refactoring 2011-12-08 00:07:55 +05:30
Jestan Nirojan
84f6f7d617 updated license in sctp classes 2011-12-07 23:32:48 +05:30
Jestan Nirojan
68379140c4 removed svn rev headers from sctp classes 2011-12-07 23:24:08 +05:30
Jestan Nirojan
724ca7a913 merged with master 2011-12-07 23:17:11 +05:30
Jestan Nirojan
40e6a73e94 Merge branch 'master' of github.com:jestan/netty 2011-12-07 22:53:33 +05:30
norman
5cb865c4ce Use AtomicInteger.class ClassLoader for Unsafe dection. See #102 2011-12-07 13:14:42 +01:00
norman
766525431d Rename the old LinkedTransferQueue to LegacyLinkedTransferQueue and fork
the "current" implementation of LinkedTransferQueue (from Doug Lea).
Introduce a QueueFactory which will load the right implementation
depending on the JVM version. This will make sure that the one with the
best performance is choosen and the code also works with java 5. See
#102
2011-12-07 12:08:39 +01:00
norman
cc761ae786 Allow to set/get an attachment on a Channel without the need of
ChannelLocal. See #101
2011-12-07 07:54:15 +01:00
Jestan Nirojan
3379a4c25d 1)replaced all netty link transfer queue by java 7 link transfer queue to avoid high cpu usage 2)optimized selector loop 2011-12-06 19:40:22 +05:30
Jestan Nirojan
78c949f282 Merge remote branch 'upstream/master' 2011-12-02 03:39:09 +05:30
Jestan Nirojan
460237d3f3 changed the visibility of ctx, event in channel event runnable, so execution handler implementers can have a down stream execution handler for SEDA 2011-12-02 00:15:09 +05:30
norman
0d5c7d3d2e Make sure the cumulation Buffer is only created if really needed. See
#88
2011-12-01 14:12:24 +01:00
Cruz Bishop
18344fbc90 Merge branch 'master' of https://github.com/netty/netty into task-61 2011-12-01 21:36:44 +10:00
Cruz Bishop
ec9bcbd553 Removed @version tags and did some documentation
Some test classes are now documented
2011-12-01 21:34:25 +10:00
norman
2a0a63e1bb Remove the usage of AtomicLong as this only confuse users. The Handler
is not suited for re-use anyway. See #93
2011-12-01 09:39:48 +01:00
norman
47af6bc9e8 Encode FileRegion to ChannelBuffer's everytime the handler is called.
The user should add/remove it on the fly for better performance. See #89
2011-12-01 08:43:44 +01:00
Trustin Lee
73b89a2b1f Merge pull request #80 from netty/OMATPE-refactoring
Replace synchronization with an lock free approach
2011-11-30 23:26:51 -08:00
Trustin Lee
040b74f764 Merge pull request #92 from motlin/master
Fixes from static-analysis tools
2011-11-30 22:50:20 -08:00
Vibul Imtarnasan
7b71d43688 Merge pull request #85 from veebs/WebSocketV17
Support for WebSocket Hybi V17 and Autobahn test V.0.4.3
2011-11-30 20:57:30 -08:00
Craig P. Motlin
461837e14b Remove unnecessary concatenation with empty strings. 2011-11-30 21:17:05 -05:00
Craig P. Motlin
7ddf1b1ae1 Remove unnecessary 'return' statement. 2011-11-30 21:17:03 -05:00