资源描述:
《netty in action》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、NormanMaurerMarvinAllenWolfthalFOREWORDBYTrustinLeeMANNINGwww.it-ebooks.infoNettyinActionNORMANMAURERMARVINALLENWOLFTHALMANNINGSHELTERISLANDLicensedtoThomasSneadwww.it-ebooks.infoForonlineinformationandorderingofthisandotherManningbooks,pl
2、easevisitwww.manning.com.Thepublisheroffersdiscountsonthisbookwhenorderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.20BaldwinRoadPOBox761ShelterIsland,NY11964Email:orders@manning.com©2016byManningPublicationsCo.Allrig
3、htsreserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodistinguis
4、htheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthebook,andManningPublicationswasawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavethebo
5、okswepublishprintedonacid-freepaper,andweexertourbesteffortstothatend.Recognizingalsoourresponsibilitytoconservetheresourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlorine.ManningPublicationsCo
6、.Developmenteditors:JeffBleiel,JenniferStout20BaldwinRoadTechnicaldevelopmenteditor:MarkElstonPOBox761Copyeditor:AndyCarrollShelterIsland,NY11964Proofreader:ElizabethMartinTechnicalproofreaders:DavidDossot,NeilRutherfordTypesetter:DennisDalinnikCoverdesigner:Ma
7、rijaTudorISBN:9781617291470PrintedintheUnitedStatesofAmerica12345678910–EBM–201918171615LicensedtoThomasSneadwww.it-ebooks.infobriefcontentsPART1NETTYCONCEPTSANDARCHITECTURE...........................11■Netty—asynchronousandevent-driven32■
8、YourfirstNettyapplication153■Nettycomponentsanddesign324■Transports415■ByteBuf556■ChannelHandlerandChannelPipeline757■EventLoopandthreadingmodel968■Bootstrapping1079■Unittes