Commit Graph

387 Commits

Author SHA1 Message Date
Trustin Lee
a0d132a4d8 Moved WriteMessageQueue to the util package 2008-09-27 11:53:00 +00:00
Trustin Lee
f2c1734636 Reduced contention between I/O thread and writer 2008-09-26 12:28:09 +00:00
Trustin Lee
90ea9aa047 Formatting 2008-09-26 09:05:41 +00:00
Trustin Lee
362ecf640b Fixed a bug where DiscardClient didn't work since the last optimization 2008-09-26 09:04:02 +00:00
Trustin Lee
39086edae6 Introduced an intermediary write buffer to reduce the contention 2008-09-26 08:31:33 +00:00
Trustin Lee
0241120ace Optimization.. (reduced volatiles) 2008-09-26 07:00:30 +00:00
Trustin Lee
22d79a501d Replaced ConcurrentLinkedQueue with LinkedBlockingQueue in NioSocketChannel 2008-09-26 04:31:41 +00:00
Trustin Lee
9f5468f7a7 Made sure NioWorker.taskQueue doesn't contain the same WriteTask 2008-09-26 03:32:26 +00:00
Trustin Lee
5f1ecc9022 Fixed throughput issue when messages are written from different threads than I/O worker threads 2008-09-26 03:02:31 +00:00
Trustin Lee
ebdcb21421 Made sure StackTraceSimplifier is always loaded 2008-09-26 02:57:10 +00:00
Trustin Lee
824e0034c4 A little bit of optimization 2008-09-26 00:43:14 +00:00
Trustin Lee
e1f4053d41 At last but not least 2008-09-25 16:31:03 +00:00
Trustin Lee
33c1932353 Dunno why but SocketChannel.accept() sometimes returns null. 2008-09-25 11:05:45 +00:00
Trustin Lee
bc60f01b58 section -> chapter 2008-09-24 12:38:52 +00:00
Trustin Lee
9c0b5d1949 Better table L&F 2008-09-24 12:01:50 +00:00
Trustin Lee
87390319c8 Added the list of available options 2008-09-24 11:28:46 +00:00
Trustin Lee
274fa4aac5 A little bit of duplication to help understanding of asynchronous operation 2008-09-24 10:49:39 +00:00
Trustin Lee
d0d99ff6bc More detailed explanation on ChannelFuture 2008-09-24 10:46:58 +00:00
Trustin Lee
320b7133a2 More clarification on ChannelHandlerContext 2008-09-24 10:37:19 +00:00
Trustin Lee
92be78df49 Rephrased the description of ChannelHandlerContext 2008-09-24 10:08:30 +00:00
Trustin Lee
60eec52dab Typo 2008-09-24 09:56:10 +00:00
Trustin Lee
0b8687cdeb More explanation on the characteristics of bootstraps 2008-09-24 09:55:19 +00:00
Trustin Lee
008f7c394e Added the PNG version of the architecture diagram 2008-09-24 09:50:38 +00:00
Trustin Lee
aaa6efcda4 Fires -> Sends 2008-09-24 09:49:23 +00:00
Trustin Lee
6a759f0c63 Fixed grammar, typo, and brevity in Javadoc comments 2008-09-24 09:48:32 +00:00
Trustin Lee
ec06cbf57a Made the diagram more compact 2008-09-24 05:32:43 +00:00
Trustin Lee
880a093c9f Added the architecture diagram 2008-09-24 04:45:39 +00:00
Trustin Lee
891751b396 Updated XSLT to make the documentation point the correct URL 2008-09-24 03:39:21 +00:00
Trustin Lee
705d4f183c Excluded unwritten chapters temporarilly 2008-09-24 03:17:27 +00:00
Trustin Lee
48bf1d543a Better description 2008-09-24 03:14:16 +00:00
Trustin Lee
8c2f314154 Better explanation of what Netty is 2008-09-24 02:30:10 +00:00
Trustin Lee
45b6c74b84 Another rephrasing 2008-09-22 11:05:43 +00:00
Trustin Lee
a85c3688a8 Another rephrasing 2008-09-22 11:03:49 +00:00
Trustin Lee
95a5af1707 Slight rephrasing 2008-09-22 11:02:28 +00:00
Trustin Lee
f206c5359b Finished the first chapter 2008-09-22 11:00:18 +00:00
Trustin Lee
8d8c7c0227 * Updated PDF XSL
* proven approach for -> proven approach to
* Keep writing the guide...
2008-09-22 05:47:10 +00:00
Trustin Lee
d3f24589a4 * Fixed too frequent plugin update
* Keep writing the guide...
2008-09-22 02:10:31 +00:00
Trustin Lee
da8fa65aca More tweak for PDF guide 2008-09-20 10:44:51 +00:00
Trustin Lee
bacabc9a12 * Reformatted XSL files
* A little bit of tweaking in PDF stylesheet
2008-09-20 10:23:18 +00:00
Trustin Lee
ea7c7e769c * Replaced callout-bug with simple co tags
* Stylesheet update
2008-09-20 09:11:54 +00:00
Trustin Lee
0f3edc8cd8 Fixed cosmetic errors by overriding the default stylesheets 2008-09-20 06:38:56 +00:00
Trustin Lee
6e696ffc51 * Added more shortcut entities 2008-09-19 11:52:30 +00:00
Trustin Lee
3c0d4a5c40 * Extracted common entities into custom.dtd
* Keep writing the getting started chapter
2008-09-19 11:16:28 +00:00
Trustin Lee
0547b35559 Defined four entities related with Netty 2008-09-19 08:23:51 +00:00
Trustin Lee
032226521d Fixed incorrect docbook location 2008-09-19 07:37:55 +00:00
Trustin Lee
b571bdc0e2 * Updated to the latest version of jdocbook plugin and jbossorg styles
* Writing the getting started chapter...
2008-09-19 07:28:48 +00:00
Trustin Lee
ac5a2a2f03 Renamed introduction to getting started 2008-09-19 06:16:14 +00:00
Trustin Lee
d52b238d62 * Fixed issue: NETTY-46 Excessive exception creation overhead when there are many pending write requests in a closed channel
* Added NioWorker.cleanUpWriteBuffer()
* Fixed issue: NETTY-47 Channel is not closed immediately when write operation fails due to closure.
  * Made sure to call NioWorker.close() in NioWorker.write(Un)Fair() and to call NioWorker.cleanUpWriteBuffer() in NioWorker.close();
2008-09-18 03:15:48 +00:00
Trustin Lee
0caeb69ae6 Added a link to the project 2008-09-16 12:32:31 +00:00
Trustin Lee
a668e5066a * Added 'State Management' chapter (just a placeholder for now)
* Wrote the preface
2008-09-16 12:27:15 +00:00
Trustin Lee
3759a9b0d6 A little bit of comments on how version.txt is generated 2008-09-16 09:24:27 +00:00
Trustin Lee
38b4da7f3b * Added cross reference to the distribution
* Tarball and zip distribution are not attached to save deployment time
2008-09-16 09:20:17 +00:00
Trustin Lee
989674fac9 * More compact distribution files
* JavaDoc is not deployed anymore (major bandwidth / space hog)
* Renamed docbook/image to docbook/images to avoid having to image directories
2008-09-16 08:58:41 +00:00
Trustin Lee
caa5c34cbe * Proper DTD declaration
* Use of XInclude
* Fixed incorrect document version
2008-09-16 08:17:13 +00:00
Trustin Lee
107937d5ae Fixed typo 2008-09-11 17:25:59 +00:00
Trustin Lee
794bd98ae6 Updated dtd definition 2008-09-11 07:10:03 +00:00
Trustin Lee
77b23c97e2 Preparing to write some real guide ... 2008-09-10 12:37:58 +00:00
Trustin Lee
b14b4c8714 Incorrect option name 2008-09-10 12:24:58 +00:00
Trustin Lee
9d4e51c7e0 shutdown() should be OK too 2008-09-10 12:11:40 +00:00
Trustin Lee
20bbd3e38f Workaround for blocking I/O transport write-write dead lock 2008-09-10 12:01:28 +00:00
Trustin Lee
5b08a8c2b5 Fixed a problem where tarball doesn't include a guide 2008-09-09 13:15:14 +00:00
Trustin Lee
a94661c2fc Added a skeletal docbook generation 2008-09-09 13:11:43 +00:00
Trustin Lee
d39fd30f09 Suppressed more warnings 2008-09-06 09:34:40 +00:00
Trustin Lee
beb0fb0d6f * Added DummyHandler for testing
* Suppressed unnecessary warning messages
2008-09-06 09:30:20 +00:00
Trustin Lee
e34d494496 Fixed a bug where AbstractChannelBuffer.writeBytes() decreases the writerIndex when the specified channel is closed. 2008-09-06 09:11:18 +00:00
Trustin Lee
33a4a9f8e1 It's more correct to remove the connector handler in ClientBootstrap 2008-09-06 09:04:11 +00:00
Trustin Lee
985d260c8b Cosmetic changes related with apiviz 2008-09-05 11:54:13 +00:00
Trustin Lee
08f006c764 Cosmetic changes related with apiviz 2008-09-05 11:38:00 +00:00
Trustin Lee
b8c1472003 Cosmetic changes related with apiviz 2008-09-05 10:58:37 +00:00
Trustin Lee
ef6404ae0c Fixed ClosedChannelException in various integration tests 2008-09-05 02:07:10 +00:00
Trustin Lee
27cc323dce Made sure flushPendingEncryptedWrites are called only when necessary 2008-09-05 01:58:35 +00:00
Trustin Lee
ab4d7f7660 Fixed an instruction about graceful shutdown - should use shutdownNow instead of shutdown for faster shutdown (and it's safe yet) 2008-09-05 00:59:07 +00:00
Trustin Lee
e1709c8e4b * Added another test case that checks shutdown time
* Optimized the hex dump table generation in ChannelBuffers
2008-09-05 00:57:22 +00:00
Trustin Lee
a056b9af63 * Fixed randomly failing ChannelBuffers.compareTo test
* Used shutdownNow instead of shutdown to shorten the test running time
* Added a test case that checks shutdown time
2008-09-05 00:01:33 +00:00
Trustin Lee
500f972367 Missing empty line between methods 2008-09-04 12:38:17 +00:00
Trustin Lee
79499476c1 * Added ReadOnlyChannelBufferTest
* Added ReadOnlyChannelBuffer.toByteBuffers
2008-09-04 12:37:37 +00:00
Trustin Lee
d9a37093e2 More test cases and trivial fixes 2008-09-04 11:53:44 +00:00
Trustin Lee
1d1e88397e Fixed a potential race condition in AbstractSocketStringEchoTest 2008-09-04 11:29:22 +00:00
Trustin Lee
486eff6378 Suppressed a warning log caused by AbstractSocketServerBootstrapTest 2008-09-04 11:25:16 +00:00
Trustin Lee
f2267eb39c Removed unnecessary warning logs related with ClientBootstrap 2008-09-04 11:19:49 +00:00
Trustin Lee
8b9f63e578 Fixed issue: NETTY-43 (channelBound event can be fired more than once for NIO client socket)
* Fixed NioWorker.register() to check NioClientSocketChannel.boundManually flag
2008-09-04 11:14:43 +00:00
Trustin Lee
384e08209e Mismatching arrow length 2008-09-04 07:26:07 +00:00
Trustin Lee
a0b75a705e Added JavaDoc to the handler.execution package 2008-09-04 07:24:42 +00:00
Trustin Lee
35678cdf73 Added JavaDoc for handler.codec.replay 2008-09-04 06:35:06 +00:00
Trustin Lee
f744de9d85 * Added JavaDoc for the handler.codec.serialization package
* Improved JavaDoc for handler.codec.string and handler.ssl
2008-09-04 05:48:41 +00:00
Trustin Lee
f0c2c95c32 Added JavaDoc to handler.ssl package 2008-09-04 04:55:32 +00:00
Trustin Lee
5a1f62f419 Updated the package description for handler.codec.string 2008-09-04 03:19:42 +00:00
Trustin Lee
49e62cd000 Added JavaDoc for handler.codec.string 2008-09-04 03:14:19 +00:00
Trustin Lee
26a1d6e429 Added JavaDoc for handler.codec.frame package. 2008-09-04 03:00:48 +00:00
Trustin Lee
a79f3ff159 Extracted some important comments in the example code to a new section 2008-09-03 13:04:02 +00:00
Trustin Lee
f86a7d224b Added JavaDoc for FrameDecoder 2008-09-03 12:56:30 +00:00
Trustin Lee
5cde160df6 link -> linkplain 2008-09-03 10:57:17 +00:00
Trustin Lee
97b252afe3 Added a link to ChannelEvent in Channel JavaDoc 2008-09-03 08:30:17 +00:00
Trustin Lee
036abda601 Calculated -> Obtained 2008-09-03 07:51:25 +00:00
Trustin Lee
d96b633b5f * Added missing constructor JavaDoc
* Fixed description of workerCount parameter
2008-09-03 07:49:59 +00:00
Trustin Lee
101124f8b8 Explicitly mentioned that the nio worker threads run in a non-blocking mode 2008-09-03 07:46:33 +00:00
Trustin Lee
1ed7741a96 Added the limitation section to oio factories 2008-09-03 07:44:39 +00:00
Trustin Lee
7e491614cb Added JavaDoc for channel.socket.nio and oio 2008-09-03 07:41:27 +00:00
Trustin Lee
9e3973415e > -> >= 2008-09-03 05:20:49 +00:00
Trustin Lee
fd261b1044 Added proper author / version tags 2008-09-03 05:19:55 +00:00
Trustin Lee
48497ce1fd Added proper author / version tags 2008-09-03 05:17:59 +00:00
Trustin Lee
54e81bde72 JavaDoc for channel.socket package 2008-09-03 05:13:47 +00:00
Trustin Lee
bb5c59e816 s/propagation // 2008-09-03 04:12:40 +00:00
Trustin Lee
6b004f861b Filled in JavaDoc for trivial methods 2008-09-03 04:10:04 +00:00
Trustin Lee
38b3f4fa98 * Added DefaultChannelPipeline.toString()
* Filled in JavaDoc for trivial methods
2008-09-03 04:09:46 +00:00
Trustin Lee
c2f38fb6d3 More story in ChannelPipelineFactory 2008-09-03 03:58:20 +00:00
Trustin Lee
76c9d8eb3c Rewrote the ChannelHandlerContext explanation 2008-09-03 03:50:18 +00:00
Trustin Lee
62fc6b211e Added more hint to additional resources 2008-09-03 03:46:54 +00:00
Trustin Lee
267a8cb1d7 Added event name column to the table in ChannelDownstreamHandler 2008-09-03 03:39:27 +00:00
Trustin Lee
3e21792b12 Simplified a sentence in ChannelPipeline explanation 2008-09-03 03:10:00 +00:00
Trustin Lee
3e699b7f4a More JavaDoc on ChannelEvent 2008-09-03 03:08:27 +00:00
Trustin Lee
b23b9dd03b More explanation + more links 2008-09-03 03:04:51 +00:00
Trustin Lee
80d14bbb0e * Improved the diagram in ChannelPipeline 2008-09-03 02:59:25 +00:00
Trustin Lee
b06323011d * Added JavaDoc for Channels
* Improved the diagram in ChannelPipeline
2008-09-03 02:54:59 +00:00
Trustin Lee
78075ad7fc Improved ChannelPipeline documentation 2008-09-03 01:48:08 +00:00
Trustin Lee
a73cdb1a4a Easier example for ChannelConfig downcasting 2008-09-03 01:30:17 +00:00
Trustin Lee
b88674e437 Simplified the pipeline diagram 2008-09-03 01:23:57 +00:00
Trustin Lee
a8155f6b7f Reordering the sections in ChannelPipeline 2008-09-03 01:12:37 +00:00
Trustin Lee
6c8adf3198 Added a link to ChannelConfig in Channel 2008-09-03 01:09:40 +00:00
Trustin Lee
a145d578cc common -> recommended 2008-09-03 01:04:33 +00:00
Trustin Lee
82e677591c Fixed incorrect description 2008-09-02 14:23:40 +00:00
Trustin Lee
6c8acb2507 More JavaDoc for Channels 2008-09-02 14:21:40 +00:00
Trustin Lee
c05a337d74 Added some links into the example code 2008-09-02 14:12:56 +00:00
Trustin Lee
92ec297756 Emphasis on new expressions 2008-09-02 13:50:54 +00:00
Trustin Lee
cb5a375282 Shorter enum link 2008-09-02 13:46:47 +00:00
Trustin Lee
658b40c42e * Simpler sentences
* More cross references
* Fixed incorrect explanation related with attaching a pipeline to a channel
2008-09-02 13:45:14 +00:00
Trustin Lee
eef1c1d84d More cross-referencing 2008-09-02 13:27:40 +00:00
Trustin Lee
f9778a8dad * Reorganized JavaDoc content
* Added more missing JavaDoc
2008-09-02 13:20:03 +00:00
Trustin Lee
ed8651701d More JavaDoc 2008-09-02 12:04:04 +00:00
Trustin Lee
d1be3feefc * Fixed a problem Channel.bind/connect allows null parameter
* More JavaDoc
2008-09-02 10:39:57 +00:00
Trustin Lee
c344058a6f * Interpretation -> Meaning
* Added more explanation to ChannelState
2008-09-02 07:33:01 +00:00
Trustin Lee
fe7e2ea4bb Typo, grammar, duplication ... 2008-09-02 07:22:16 +00:00
Trustin Lee
b3c76b8cbf JavaDoc... 2008-09-02 07:13:20 +00:00
Trustin Lee
f203cf4e22 More JavaDoc in the buffer package 2008-09-01 16:06:40 +00:00
Trustin Lee
f4ce86a12d Disambiguation in ChannelPipelineCoverage 2008-09-01 16:01:47 +00:00
Trustin Lee
08e828c4fb More links to ChannelEvent and ChannelHandler in ChannelPipeline JavaDoc 2008-09-01 15:56:45 +00:00
Trustin Lee
9cc8c28491 JavaDoc 2008-09-01 15:52:26 +00:00
Trustin Lee
4865bb7d45 JavaDoc 2008-09-01 15:19:34 +00:00
Trustin Lee
47d141ed91 Shortened the first statement of ChannelHandler description 2008-09-01 14:34:56 +00:00
Trustin Lee
3e3162da1a Added support for IBM AIX 1.5 VM 2008-09-01 14:31:31 +00:00
Trustin Lee
fefe10f2dd JavaDoc 2008-09-01 14:29:17 +00:00
Trustin Lee
781a93bd43 Added missing JavaDoc for the classes in org.jboss.netty.logging 2008-09-01 09:43:49 +00:00
Trustin Lee
e5f88b536b Added missing JavaDoc for the classes in org.jboss.netty.util 2008-09-01 09:41:33 +00:00
Trustin Lee
e11e0f7ed5 Grammar 2008-09-01 09:27:53 +00:00
Trustin Lee
7a503f1519 * Added support for JRockit VMs
* Fixed incorrect test result on Windows and Solaris for Sun VMs
2008-09-01 07:56:24 +00:00
Trustin Lee
b8c2051407 Added quick autodetection support for IBM JDK 2008-08-31 03:29:13 +00:00
Trustin Lee
243264efb0 NioWorker optimization
* Use of read write lock
* Split write into two versions (fair and unfair)
2008-08-31 02:59:54 +00:00
Trustin Lee
c0b5d93b0a Added system property detection for Mac OS X 2008-08-30 12:57:04 +00:00
Trustin Lee
d2a07463ef Added SystemPropertyUtil 2008-08-30 07:29:00 +00:00
Trustin Lee
93c1dd58ba Improved NIO constraint level detection - should start up faster with Sun JVM 2008-08-30 07:28:23 +00:00