DotNetty.Transport.xml 191 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>DotNetty.Transport</name>
  5. </assembly>
  6. <members>
  7. <member name="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2">
  8. <summary>
  9. This is a helper class that makes it easy to bootstrap an <see cref="T:DotNetty.Transport.Channels.IChannel"/>. It supports method-
  10. chaining to provide an easy way to configure the <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/>.
  11. When not used in a <see cref="T:DotNetty.Transport.Bootstrapping.ServerBootstrap"/> context, the <see cref="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.Net.EndPoint)"/> methods
  12. are useful for connectionless transports such as datagram (UDP).
  13. </summary>
  14. </member>
  15. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Group(DotNetty.Transport.Channels.IEventLoopGroup)">
  16. <summary>
  17. Specifies the <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> which will handle events for the <see cref="T:DotNetty.Transport.Channels.IChannel"/> being built.
  18. </summary>
  19. <param name="group">The <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> which is used to handle all the events for the to-be-created <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</param>
  20. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  21. </member>
  22. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Channel``1">
  23. <summary>
  24. Specifies the <see cref="T:System.Type"/> of <see cref="T:DotNetty.Transport.Channels.IChannel"/> which will be created.
  25. </summary>
  26. <typeparam name="T">The <see cref="T:System.Type"/> which is used to create <see cref="T:DotNetty.Transport.Channels.IChannel"/> instances from.</typeparam>
  27. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  28. </member>
  29. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.LocalAddress(System.Net.EndPoint)">
  30. <summary>
  31. Assigns the <see cref="T:System.Net.EndPoint"/> which is used to bind the local "end" to.
  32. </summary>
  33. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> instance to bind the local "end" to.</param>
  34. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  35. </member>
  36. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.LocalAddress(System.Int32)">
  37. <summary>
  38. Assigns the local <see cref="T:System.Net.EndPoint"/> which is used to bind the local "end" to.
  39. This overload binds to a <see cref="T:System.Net.IPEndPoint"/> for any IP address on the local machine, given a specific port.
  40. </summary>
  41. <param name="inetPort">The port to bind the local "end" to.</param>
  42. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  43. </member>
  44. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.LocalAddress(System.String,System.Int32)">
  45. <summary>
  46. Assigns the local <see cref="T:System.Net.EndPoint"/> which is used to bind the local "end" to.
  47. This overload binds to a <see cref="T:System.Net.DnsEndPoint"/> for a given hostname and port.
  48. </summary>
  49. <param name="inetHost">The hostname to bind the local "end" to.</param>
  50. <param name="inetPort">The port to bind the local "end" to.</param>
  51. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  52. </member>
  53. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.LocalAddress(System.Net.IPAddress,System.Int32)">
  54. <summary>
  55. Assigns the local <see cref="T:System.Net.EndPoint"/> which is used to bind the local "end" to.
  56. This overload binds to a <see cref="T:System.Net.IPEndPoint"/> for a given <see cref="T:System.Net.IPAddress"/> and port.
  57. </summary>
  58. <param name="inetHost">The <see cref="T:System.Net.IPAddress"/> to bind the local "end" to.</param>
  59. <param name="inetPort">The port to bind the local "end" to.</param>
  60. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  61. </member>
  62. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Option``1(DotNetty.Transport.Channels.ChannelOption{``0},``0)">
  63. <summary>
  64. Allows the specification of a <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> which is used for the
  65. <see cref="T:DotNetty.Transport.Channels.IChannel"/> instances once they get created. Use a value of <c>null</c> to remove
  66. a previously set <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/>.
  67. </summary>
  68. <param name="option">The <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> to configure.</param>
  69. <param name="value">The value to set the given option.</param>
  70. </member>
  71. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Attribute``1(DotNetty.Common.Utilities.AttributeKey{``0},``0)">
  72. <summary>
  73. Allows specification of an initial attribute of the newly created <see cref="T:DotNetty.Transport.Channels.IChannel" />. If the <c>value</c> is
  74. <c>null</c>, the attribute of the specified <c>key</c> is removed.
  75. </summary>
  76. </member>
  77. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Validate">
  78. <summary>
  79. Validates all the parameters. Sub-classes may override this, but should call the super method in that case.
  80. </summary>
  81. </member>
  82. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Clone">
  83. <summary>
  84. Returns a deep clone of this bootstrap which has the identical configuration. This method is useful when making
  85. multiple <see cref="T:DotNetty.Transport.Channels.IChannel"/>s with similar settings. Please note that this method does not clone the
  86. <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> deeply but shallowly, making the group a shared resource.
  87. </summary>
  88. </member>
  89. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.RegisterAsync">
  90. <summary>
  91. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and registers it with an <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  92. </summary>
  93. </member>
  94. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync">
  95. <summary>
  96. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and binds it to the endpoint specified via the <see cref="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.LocalAddress(System.Net.EndPoint)"/> methods.
  97. </summary>
  98. <returns>The bound <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  99. </member>
  100. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.Int32)">
  101. <summary>
  102. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and binds it.
  103. This overload binds to a <see cref="T:System.Net.IPEndPoint"/> for any IP address on the local machine, given a specific port.
  104. </summary>
  105. <param name="inetPort">The port to bind the local "end" to.</param>
  106. <returns>The bound <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  107. </member>
  108. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.String,System.Int32)">
  109. <summary>
  110. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and binds it.
  111. This overload binds to a <see cref="T:System.Net.DnsEndPoint"/> for a given hostname and port.
  112. </summary>
  113. <param name="inetHost">The hostname to bind the local "end" to.</param>
  114. <param name="inetPort">The port to bind the local "end" to.</param>
  115. <returns>The bound <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  116. </member>
  117. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.Net.IPAddress,System.Int32)">
  118. <summary>
  119. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and binds it.
  120. This overload binds to a <see cref="T:System.Net.IPEndPoint"/> for a given <see cref="T:System.Net.IPAddress"/> and port.
  121. </summary>
  122. <param name="inetHost">The <see cref="T:System.Net.IPAddress"/> to bind the local "end" to.</param>
  123. <param name="inetPort">The port to bind the local "end" to.</param>
  124. <returns>The bound <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  125. </member>
  126. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.Net.EndPoint)">
  127. <summary>
  128. Creates a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> and binds it.
  129. </summary>
  130. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> instance to bind the local "end" to.</param>
  131. <returns>The bound <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  132. </member>
  133. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Handler(DotNetty.Transport.Channels.IChannelHandler)">
  134. <summary>
  135. Specifies the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to use for serving the requests.
  136. </summary>
  137. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to use for serving requests.</param>
  138. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2"/> instance.</returns>
  139. </member>
  140. <member name="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Group">
  141. <summary>
  142. Returns the configured <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> or <c>null</c> if none is configured yet.
  143. </summary>
  144. </member>
  145. <member name="T:DotNetty.Transport.Bootstrapping.Bootstrap">
  146. <summary>
  147. A <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that makes it easy to bootstrap an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to use for clients.
  148. The <see cref="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.BindAsync(System.Net.EndPoint)"/> methods are useful
  149. in combination with connectionless transports such as datagram (UDP). For regular TCP connections,
  150. please use the provided <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync(System.Net.EndPoint,System.Net.EndPoint)"/> methods.
  151. </summary>
  152. </member>
  153. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.Resolver(DotNetty.Transport.Bootstrapping.INameResolver)">
  154. <summary>
  155. Sets the <see cref="T:DotNetty.Transport.Bootstrapping.INameResolver"/> which will resolve the address of the unresolved named address.
  156. </summary>
  157. <param name="resolver">The <see cref="T:DotNetty.Transport.Bootstrapping.INameResolver"/> which will resolve the address of the unresolved named address.</param>
  158. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> instance.</returns>
  159. </member>
  160. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.RemoteAddress(System.Net.EndPoint)">
  161. <summary>
  162. Assigns the remote <see cref="T:System.Net.EndPoint"/> to connect to once the <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync"/> method is called.
  163. </summary>
  164. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  165. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> instance.</returns>
  166. </member>
  167. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.RemoteAddress(System.String,System.Int32)">
  168. <summary>
  169. Assigns the remote <see cref="T:System.Net.EndPoint"/> to connect to once the <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync"/> method is called.
  170. </summary>
  171. <param name="inetHost">The hostname of the endpoint to connect to.</param>
  172. <param name="inetPort">The port at the remote host to connect to.</param>
  173. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> instance.</returns>
  174. </member>
  175. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.RemoteAddress(System.Net.IPAddress,System.Int32)">
  176. <summary>
  177. Assigns the remote <see cref="T:System.Net.EndPoint"/> to connect to once the <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync"/> method is called.
  178. </summary>
  179. <param name="inetHost">The <see cref="T:System.Net.IPAddress"/> of the endpoint to connect to.</param>
  180. <param name="inetPort">The port at the remote host to connect to.</param>
  181. <returns>The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> instance.</returns>
  182. </member>
  183. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync">
  184. <summary>
  185. Connects an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the remote peer.
  186. </summary>
  187. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  188. </member>
  189. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync(System.String,System.Int32)">
  190. <summary>
  191. Connects an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the remote peer.
  192. </summary>
  193. <param name="inetHost">The hostname of the endpoint to connect to.</param>
  194. <param name="inetPort">The port at the remote host to connect to.</param>
  195. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  196. </member>
  197. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync(System.Net.IPAddress,System.Int32)">
  198. <summary>
  199. Connects an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the remote peer.
  200. </summary>
  201. <param name="inetHost">The <see cref="T:System.Net.IPAddress"/> of the endpoint to connect to.</param>
  202. <param name="inetPort">The port at the remote host to connect to.</param>
  203. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  204. </member>
  205. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync(System.Net.EndPoint)">
  206. <summary>
  207. Connects an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the remote peer.
  208. </summary>
  209. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  210. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  211. </member>
  212. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync(System.Net.EndPoint,System.Net.EndPoint)">
  213. <summary>
  214. Connects an <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the remote peer.
  215. </summary>
  216. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  217. <param name="localAddress">The local <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  218. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  219. </member>
  220. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.DoResolveAndConnectAsync(System.Net.EndPoint,System.Net.EndPoint)">
  221. <summary>
  222. Performs DNS resolution for the remote endpoint and connects to it.
  223. </summary>
  224. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  225. <param name="localAddress">The local <see cref="T:System.Net.EndPoint"/> to connect the remote to.</param>
  226. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  227. </member>
  228. <member name="M:DotNetty.Transport.Bootstrapping.Bootstrap.Clone(DotNetty.Transport.Channels.IEventLoopGroup)">
  229. <summary>
  230. Returns a deep clone of this bootstrap which has the identical configuration except that it uses
  231. the given <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/>. This method is useful when making multiple <see cref="T:DotNetty.Transport.Channels.IChannel"/>s with similar
  232. settings.
  233. </summary>
  234. </member>
  235. <member name="T:DotNetty.Transport.Bootstrapping.ServerBootstrap">
  236. <summary>
  237. A <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> sub-class which allows easy bootstrapping of <see cref="T:DotNetty.Transport.Channels.IServerChannel"/>.
  238. </summary>
  239. </member>
  240. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.Group(DotNetty.Transport.Channels.IEventLoopGroup)">
  241. <summary>
  242. Specifies the <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> which is used for the parent (acceptor) and the child (client).
  243. </summary>
  244. </member>
  245. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.Group(DotNetty.Transport.Channels.IEventLoopGroup,DotNetty.Transport.Channels.IEventLoopGroup)">
  246. <summary>
  247. Sets the <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> for the parent (acceptor) and the child (client). These
  248. <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/>'s are used to handle all the events and IO for <see cref="T:DotNetty.Transport.Channels.IServerChannel"/>
  249. and <see cref="T:DotNetty.Transport.Channels.IChannel"/>'s.
  250. </summary>
  251. </member>
  252. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.ChildOption``1(DotNetty.Transport.Channels.ChannelOption{``0},``0)">
  253. <summary>
  254. Allows specification of a <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> which is used for the <see cref="T:DotNetty.Transport.Channels.IChannel"/>
  255. instances once they get created (after the acceptor accepted the <see cref="T:DotNetty.Transport.Channels.IChannel"/>). Use a
  256. value of <c>null</c> to remove a previously set <see cref="T:DotNetty.Transport.Channels.ChannelOption"/>.
  257. </summary>
  258. </member>
  259. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.ChildAttribute``1(DotNetty.Common.Utilities.AttributeKey{``0},``0)">
  260. <summary>
  261. Sets the specific <see cref="T:DotNetty.Common.Utilities.AttributeKey`1"/> with the given value on every child <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  262. If the value is <c>null</c>, the <see cref="T:DotNetty.Common.Utilities.AttributeKey`1"/> is removed.
  263. </summary>
  264. </member>
  265. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.ChildHandler(DotNetty.Transport.Channels.IChannelHandler)">
  266. <summary>
  267. Sets the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> which is used to serve the request for the <see cref="T:DotNetty.Transport.Channels.IChannel"/>'s.
  268. </summary>
  269. </member>
  270. <member name="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.ChildGroup">
  271. <summary>
  272. Returns the configured <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> which will be used for the child channels or <c>null</c>
  273. if none is configured yet.
  274. </summary>
  275. </member>
  276. <member name="F:DotNetty.Transport.Channels.AbstractChannel.strValActive">
  277. <summary>Cache for the string representation of this channel</summary>
  278. </member>
  279. <member name="M:DotNetty.Transport.Channels.AbstractChannel.#ctor(DotNetty.Transport.Channels.IChannel)">
  280. <summary>
  281. Creates a new instance.
  282. </summary>
  283. <param name="parent">The parent of this channel. Pass <c>null</c> if there's no parent.</param>
  284. </member>
  285. <member name="M:DotNetty.Transport.Channels.AbstractChannel.#ctor(DotNetty.Transport.Channels.IChannel,DotNetty.Transport.Channels.IChannelId)">
  286. <summary>
  287. Creates a new instance.
  288. </summary>
  289. <param name="parent">The parent of this channel. Pass <c>null</c> if there's no parent.</param>
  290. <param name="id">An <see cref="T:DotNetty.Transport.Channels.IChannelId"/> for the new channel.</param>
  291. </member>
  292. <member name="M:DotNetty.Transport.Channels.AbstractChannel.InvalidateRemoteAddress">
  293. <summary>
  294. Resets the stored <see cref="P:DotNetty.Transport.Channels.AbstractChannel.RemoteAddress"/>.
  295. </summary>
  296. </member>
  297. <member name="M:DotNetty.Transport.Channels.AbstractChannel.NewId">
  298. <summary>
  299. Returns a new <see cref="T:DotNetty.Transport.Channels.DefaultChannelId"/> instance. Subclasses may override this method to assign custom
  300. <see cref="T:DotNetty.Transport.Channels.IChannelId"/>s to <see cref="T:DotNetty.Transport.Channels.IChannel"/>s that use the <see cref="T:DotNetty.Transport.Channels.AbstractChannel"/> constructor.
  301. </summary>
  302. <returns>A new <see cref="T:DotNetty.Transport.Channels.DefaultChannelId"/> instance.</returns>
  303. </member>
  304. <member name="M:DotNetty.Transport.Channels.AbstractChannel.NewChannelPipeline">
  305. <summary>Returns a new pipeline instance.</summary>
  306. </member>
  307. <member name="M:DotNetty.Transport.Channels.AbstractChannel.NewUnsafe">
  308. <summary>
  309. Create a new <see cref="T:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe" /> instance which will be used for the life-time of the
  310. <see cref="T:DotNetty.Transport.Channels.IChannel" />
  311. </summary>
  312. </member>
  313. <member name="M:DotNetty.Transport.Channels.AbstractChannel.GetHashCode">
  314. <summary>
  315. Returns the ID of this channel.
  316. </summary>
  317. </member>
  318. <member name="M:DotNetty.Transport.Channels.AbstractChannel.Equals(System.Object)">
  319. <summary>
  320. Returns <c>true</c> if and only if the specified object is identical
  321. with this channel (i.e. <c>this == o</c>).
  322. </summary>
  323. </member>
  324. <member name="M:DotNetty.Transport.Channels.AbstractChannel.ToString">
  325. <summary>
  326. Returns the string representation of this channel. The returned string contains a hex dump of the
  327. <see cref="T:DotNetty.Transport.Channels.IChannelId"/>, the <see cref="P:DotNetty.Transport.Channels.AbstractChannel.LocalAddress"/>, and the <see cref="P:DotNetty.Transport.Channels.AbstractChannel.RemoteAddress"/> of this
  328. channel for easier identification.
  329. </summary>
  330. </member>
  331. <member name="T:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe">
  332. <summary>
  333. <see cref="T:DotNetty.Transport.Channels.IChannelUnsafe" /> implementation which sub-classes must extend and use.
  334. </summary>
  335. </member>
  336. <member name="F:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe.neverRegistered">
  337. <summary> true if the channel has never been registered, false otherwise /// </summary>
  338. </member>
  339. <member name="M:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe.DeregisterAsync">
  340. <summary>
  341. This method must NEVER be called directly, but be executed as an
  342. extra task with a clean call stack instead. The reason for this
  343. is that this method calls <see cref="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelUnregistered"/>
  344. directly, which might lead to an unfortunate nesting of independent inbound/outbound
  345. events. See the comments input <see cref="M:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe.InvokeLater(System.Action)"/> for more details.
  346. </summary>
  347. </member>
  348. <member name="M:DotNetty.Transport.Channels.AbstractChannel.AbstractUnsafe.PrepareToClose">
  349. <summary>
  350. Prepares to close the <see cref="T:DotNetty.Transport.Channels.IChannel"/>. If this method returns an <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/>, the
  351. caller must call the <see cref="!:IEventExecutor.Execute(DotNetty.Common.Concurrency.IRunnable)"/> method with a task that calls
  352. <see cref="M:DotNetty.Transport.Channels.AbstractChannel.DoClose"/> on the returned <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/>. If this method returns <c>null</c>,
  353. <see cref="M:DotNetty.Transport.Channels.AbstractChannel.DoClose"/> must be called from the caller thread. (i.e. <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>)
  354. </summary>
  355. </member>
  356. <member name="M:DotNetty.Transport.Channels.AbstractChannel.IsCompatible(DotNetty.Transport.Channels.IEventLoop)">
  357. <summary>
  358. Checks whether a given <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> is compatible with the <see cref="T:DotNetty.Transport.Channels.AbstractChannel"/>.
  359. </summary>
  360. <param name="eventLoop">The <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> to check compatibility.</param>
  361. <returns>
  362. <c>true</c> if the given <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> is compatible with this <see cref="T:DotNetty.Transport.Channels.AbstractChannel"/>
  363. instance, otherwise <c>false</c>.
  364. </returns>
  365. </member>
  366. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoRegister">
  367. <summary>
  368. Is called after the <see cref="T:DotNetty.Transport.Channels.IChannel"/> is registered with its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> as part of the
  369. register process. Sub-classes may override this method.
  370. </summary>
  371. </member>
  372. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoBind(System.Net.EndPoint)">
  373. <summary>
  374. Binds the <see cref="T:DotNetty.Transport.Channels.IChannel"/> to the <see cref="T:System.Net.EndPoint"/>.
  375. </summary>
  376. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> to bind.</param>
  377. </member>
  378. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoDisconnect">
  379. <summary>
  380. Disconnects this <see cref="T:DotNetty.Transport.Channels.IChannel"/> from its remote peer.
  381. </summary>
  382. </member>
  383. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoClose">
  384. <summary>
  385. Closes the <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  386. </summary>
  387. </member>
  388. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoDeregister">
  389. <summary>
  390. Deregisters the <see cref="T:DotNetty.Transport.Channels.IChannel"/> from its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>. Sub-classes may override this
  391. method.
  392. </summary>
  393. </member>
  394. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoBeginRead">
  395. <summary>
  396. ScheduleAsync a read operation.
  397. </summary>
  398. </member>
  399. <member name="M:DotNetty.Transport.Channels.AbstractChannel.DoWrite(DotNetty.Transport.Channels.ChannelOutboundBuffer)">
  400. <summary>
  401. Flush the content of the given buffer to the remote peer.
  402. </summary>
  403. </member>
  404. <member name="M:DotNetty.Transport.Channels.AbstractChannel.FilterOutboundMessage(System.Object)">
  405. <summary>
  406. Invoked when a new message is added to a <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/> of this
  407. <see cref="T:DotNetty.Transport.Channels.AbstractChannel"/>, so that the <see cref="T:DotNetty.Transport.Channels.IChannel"/> implementation converts the message to
  408. another. (e.g. heap buffer -> direct buffer).
  409. </summary>
  410. <param name="msg">The message to be filtered.</param>
  411. <returns>The filtered message.</returns>
  412. </member>
  413. <member name="F:DotNetty.Transport.Channels.AbstractChannelHandlerContext.HandlerState.Init">
  414. <summary>Neither <see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerAdded(DotNetty.Transport.Channels.IChannelHandlerContext)"/> nor <see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerRemoved(DotNetty.Transport.Channels.IChannelHandlerContext)"/> was called.</summary>
  415. </member>
  416. <member name="F:DotNetty.Transport.Channels.AbstractChannelHandlerContext.HandlerState.Added">
  417. <summary><see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerAdded(DotNetty.Transport.Channels.IChannelHandlerContext)"/> was called.</summary>
  418. </member>
  419. <member name="F:DotNetty.Transport.Channels.AbstractChannelHandlerContext.HandlerState.Removed">
  420. <summary><see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerRemoved(DotNetty.Transport.Channels.IChannelHandlerContext)"/> was called.</summary>
  421. </member>
  422. <member name="P:DotNetty.Transport.Channels.AbstractChannelHandlerContext.Added">
  423. <summary>
  424. Makes best possible effort to detect if <see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerAdded(DotNetty.Transport.Channels.IChannelHandlerContext)" /> was
  425. called
  426. yet. If not return <c>false</c> and if called or could not detect return <c>true</c>.
  427. If this method returns <c>true</c> we will not invoke the <see cref="T:DotNetty.Transport.Channels.IChannelHandler" /> but just forward the
  428. event.
  429. This is needed as <see cref="T:DotNetty.Transport.Channels.DefaultChannelPipeline" /> may already put the <see cref="T:DotNetty.Transport.Channels.IChannelHandler" /> in the
  430. linked-list
  431. but not called
  432. </summary>
  433. </member>
  434. <member name="T:DotNetty.Transport.Channels.AbstractServerChannel">
  435. <summary>
  436. A skeletal server-side <see cref="T:DotNetty.Transport.Channels.IChannel"/> implementation. A server-side <see cref="T:DotNetty.Transport.Channels.IChannel"/> does not
  437. allow the following operations: <see cref="M:DotNetty.Transport.Channels.IChannel.ConnectAsync(System.Net.EndPoint)"/>,
  438. <see cref="M:DotNetty.Transport.Channels.IChannel.DisconnectAsync"/>, <see cref="M:DotNetty.Transport.Channels.IChannel.WriteAsync(System.Object)"/>,
  439. <see cref="M:DotNetty.Transport.Channels.IChannel.Flush"/>.
  440. </summary>
  441. </member>
  442. <member name="M:DotNetty.Transport.Channels.AbstractServerChannel.#ctor">
  443. <summary>
  444. Creates a new instance.
  445. </summary>
  446. </member>
  447. <member name="T:DotNetty.Transport.Channels.AdaptiveRecvByteBufAllocator">
  448. <summary>
  449. The <see cref="T:DotNetty.Transport.Channels.IRecvByteBufAllocator" /> that automatically increases and
  450. decreases the predicted buffer size on feed back.
  451. <p />
  452. It gradually increases the expected number of readable bytes if the previous
  453. read fully filled the allocated buffer. It gradually decreases the expected
  454. number of readable bytes if the read operation was not able to fill a certain
  455. amount of the allocated buffer two times consecutively. Otherwise, it keeps
  456. returning the same prediction.
  457. </summary>
  458. </member>
  459. <member name="M:DotNetty.Transport.Channels.AdaptiveRecvByteBufAllocator.#ctor">
  460. <summary>
  461. Creates a new predictor with the default parameters. With the default
  462. parameters, the expected buffer size starts from <c>1024</c>, does not
  463. go down below <c>64</c>, and does not go up above <c>65536</c>.
  464. </summary>
  465. </member>
  466. <member name="M:DotNetty.Transport.Channels.AdaptiveRecvByteBufAllocator.#ctor(System.Int32,System.Int32,System.Int32)">
  467. <summary>Creates a new predictor with the specified parameters.</summary>
  468. <param name="minimum">the inclusive lower bound of the expected buffer size</param>
  469. <param name="initial">the initial buffer size when no feed back was received</param>
  470. <param name="maximum">the inclusive upper bound of the expected buffer size</param>
  471. </member>
  472. <member name="T:DotNetty.Transport.Channels.AffinitizedEventLoopGroup">
  473. <summary>
  474. <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> that works as a wrapper for another <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> providing affinity on <see cref="M:DotNetty.Transport.Channels.AffinitizedEventLoopGroup.GetNext"/> call.
  475. </summary>
  476. </member>
  477. <member name="P:DotNetty.Transport.Channels.AffinitizedEventLoopGroup.TerminationCompletion">
  478. <inheritdoc cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/>
  479. </member>
  480. <member name="M:DotNetty.Transport.Channels.AffinitizedEventLoopGroup.#ctor(DotNetty.Transport.Channels.IEventLoopGroup)">
  481. <summary>
  482. Creates a new instance of <see cref="T:DotNetty.Transport.Channels.AffinitizedEventLoopGroup"/>.
  483. </summary>
  484. <param name="innerGroup"><see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> serving as an actual provider of <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>s.</param>
  485. </member>
  486. <member name="M:DotNetty.Transport.Channels.AffinitizedEventLoopGroup.GetNext">
  487. <summary>
  488. If running in a context of an existing <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>, this <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> is returned.
  489. Otherwise, <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> is retrieved from underlying <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/>.
  490. </summary>
  491. </member>
  492. <member name="M:DotNetty.Transport.Channels.AffinitizedEventLoopGroup.ShutdownGracefullyAsync(System.TimeSpan,System.TimeSpan)">
  493. <inheritdoc cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/>
  494. </member>
  495. <member name="T:DotNetty.Transport.Channels.BatchingPendingWriteQueue">
  496. <summary>
  497. A queue of write operations which are pending for later execution. It also updates the
  498. <see cref="P:DotNetty.Transport.Channels.IChannel.IsWritable">writability</see> of the associated <see cref="T:DotNetty.Transport.Channels.IChannel" />, so that
  499. the pending write operations are also considered to determine the writability.
  500. </summary>
  501. </member>
  502. <member name="P:DotNetty.Transport.Channels.BatchingPendingWriteQueue.IsEmpty">
  503. <summary>Returns <c>true</c> if there are no pending write operations left in this queue.</summary>
  504. </member>
  505. <member name="P:DotNetty.Transport.Channels.BatchingPendingWriteQueue.Size">
  506. <summary>Returns the number of pending write operations.</summary>
  507. </member>
  508. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.Add(System.Object)">
  509. <summary>Add the given <c>msg</c> and returns <see cref="T:System.Threading.Tasks.Task" /> for completion of processing <c>msg</c>.</summary>
  510. </member>
  511. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.RemoveAndFailAll(System.Exception)">
  512. <summary>
  513. Remove all pending write operation and fail them with the given <see cref="T:System.Exception" />. The messages will be
  514. released
  515. via <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)" />.
  516. </summary>
  517. </member>
  518. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.RemoveAndFail(System.Exception)">
  519. <summary>
  520. Remove a pending write operation and fail it with the given <see cref="T:System.Exception" />. The message will be released
  521. via
  522. <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)" />.
  523. </summary>
  524. </member>
  525. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.RemoveAndWriteAllAsync">
  526. <summary>
  527. Remove all pending write operation and performs them via
  528. <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)" />.
  529. </summary>
  530. <returns>
  531. <see cref="T:System.Threading.Tasks.Task" /> if something was written and <c>null</c> if the <see cref="T:DotNetty.Transport.Channels.BatchingPendingWriteQueue" />
  532. is empty.
  533. </returns>
  534. </member>
  535. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.RemoveAndWriteAsync">
  536. <summary>
  537. Removes a pending write operation and performs it via
  538. <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)"/>.
  539. </summary>
  540. <returns>
  541. <see cref="T:System.Threading.Tasks.Task" /> if something was written and <c>null</c> if the <see cref="T:DotNetty.Transport.Channels.BatchingPendingWriteQueue" />
  542. is empty.
  543. </returns>
  544. </member>
  545. <member name="M:DotNetty.Transport.Channels.BatchingPendingWriteQueue.Remove">
  546. <summary>
  547. Removes a pending write operation and release it's message via <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)"/>.
  548. </summary>
  549. <returns><see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource" /> of the pending write or <c>null</c> if the queue is empty.</returns>
  550. </member>
  551. <member name="P:DotNetty.Transport.Channels.BatchingPendingWriteQueue.Current">
  552. <summary>
  553. Return the current message or <c>null</c> if empty.
  554. </summary>
  555. </member>
  556. <member name="T:DotNetty.Transport.Channels.BatchingPendingWriteQueue.PendingWrite">
  557. <summary>Holds all meta-data and construct the linked-list structure.</summary>
  558. </member>
  559. <member name="T:DotNetty.Transport.Channels.ChannelDuplexHandler">
  560. <summary>
  561. It is a good starting point if your <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> implementation needs to intercept operations and also
  562. state updates.
  563. </summary>
  564. </member>
  565. <member name="T:DotNetty.Transport.Channels.ChannelInitializer`1">
  566. <summary>
  567. A special <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> which offers an easy way to initialize a <see cref="T:DotNetty.Transport.Channels.IChannel"/> once it was
  568. registered to its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  569. <para>
  570. Implementations are most often used in the context of <see cref="M:DotNetty.Transport.Bootstrapping.AbstractBootstrap`2.Handler(DotNetty.Transport.Channels.IChannelHandler)"/>
  571. and <see cref="M:DotNetty.Transport.Bootstrapping.ServerBootstrap.ChildHandler(DotNetty.Transport.Channels.IChannelHandler)"/> to setup the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of a <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  572. </para>
  573. Be aware that this class is marked as Sharable (via <see cref="P:DotNetty.Transport.Channels.ChannelInitializer`1.IsSharable"/>) and so the implementation must be safe to be re-used.
  574. </summary>
  575. <example>
  576. <code>
  577. public class MyChannelInitializer extends <see cref="T:DotNetty.Transport.Channels.ChannelInitializer`1"/> {
  578. public void InitChannel(<see cref="T:DotNetty.Transport.Channels.IChannel"/> channel) {
  579. channel.Pipeline().AddLast("myHandler", new MyHandler());
  580. }
  581. }
  582. <see cref="T:DotNetty.Transport.Bootstrapping.ServerBootstrap"/> bootstrap = ...;
  583. ...
  584. bootstrap.childHandler(new MyChannelInitializer());
  585. ...
  586. </code>
  587. </example>
  588. <typeparam name="T">A sub-type of <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</typeparam>
  589. </member>
  590. <member name="M:DotNetty.Transport.Channels.ChannelInitializer`1.InitChannel(`0)">
  591. <summary>
  592. This method will be called once the <see cref="T:DotNetty.Transport.Channels.IChannel"/> was registered. After the method returns this instance
  593. will be removed from the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  594. </summary>
  595. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> which was registered.</param>
  596. </member>
  597. <member name="T:DotNetty.Transport.Channels.ChannelMetadata">
  598. <summary>Represents the properties of a <see cref="T:DotNetty.Transport.Channels.IChannel" /> implementation.</summary>
  599. </member>
  600. <member name="M:DotNetty.Transport.Channels.ChannelMetadata.#ctor(System.Boolean)">
  601. <summary>Create a new instance</summary>
  602. <param name="hasDisconnect">
  603. <c>true</c> if and only if the channel has the <c>DisconnectAsync()</c> operation
  604. that allows a user to disconnect and then call <see cref="M:DotNetty.Transport.Channels.IChannel.ConnectAsync(System.Net.EndPoint)" />
  605. again, such as UDP/IP.
  606. </param>
  607. </member>
  608. <member name="M:DotNetty.Transport.Channels.ChannelMetadata.#ctor(System.Boolean,System.Int32)">
  609. <summary>Create a new instance</summary>
  610. <param name="hasDisconnect">
  611. <c>true</c> if and only if the channel has the <c>DisconnectAsync</c> operation
  612. that allows a user to disconnect and then call <see cref="M:DotNetty.Transport.Channels.IChannel.ConnectAsync(System.Net.EndPoint)" />
  613. again, such as UDP/IP.
  614. </param>
  615. <param name="defaultMaxMessagesPerRead">
  616. If a <see cref="T:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator" /> is in use, then this value will be
  617. set for <see cref="P:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator.MaxMessagesPerRead" />. Must be <c> &gt; 0</c>.
  618. </param>
  619. </member>
  620. <member name="P:DotNetty.Transport.Channels.ChannelMetadata.HasDisconnect">
  621. <summary>
  622. Returns <c>true</c> if and only if the channel has the <c>DisconnectAsync()</c> operation
  623. that allows a user to disconnect and then call <see cref="M:DotNetty.Transport.Channels.IChannel.ConnectAsync(System.Net.EndPoint)" /> again,
  624. such as UDP/IP.
  625. </summary>
  626. </member>
  627. <member name="P:DotNetty.Transport.Channels.ChannelMetadata.DefaultMaxMessagesPerRead">
  628. <summary>
  629. If a <see cref="T:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator" /> is in use, then this is the default value for
  630. <see cref="P:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator.MaxMessagesPerRead" />.
  631. </summary>
  632. </member>
  633. <member name="M:DotNetty.Transport.Channels.ChannelOption.ValueOf``1(System.String)">
  634. <summary>
  635. Returns the <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> of the specified name.
  636. </summary>
  637. <typeparam name="T">The type of option being retrieved.</typeparam>
  638. <param name="name">The name of the desired option.</param>
  639. <returns>The matching <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> instance.</returns>
  640. </member>
  641. <member name="M:DotNetty.Transport.Channels.ChannelOption.ValueOf``1(System.Type,System.String)">
  642. <summary>
  643. Returns the <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> of the given pair: (<see cref="T:System.Type"/>, secondary name)
  644. </summary>
  645. <typeparam name="T">The type of option being retrieved.</typeparam>
  646. <param name="firstNameComponent">
  647. A <see cref="T:System.Type"/> whose name will be used as the first part of the desired option's name.
  648. </param>
  649. <param name="secondNameComponent">
  650. A string representing the second part of the desired option's name.
  651. </param>
  652. <returns>The matching <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> instance.</returns>
  653. </member>
  654. <member name="M:DotNetty.Transport.Channels.ChannelOption.Exists(System.String)">
  655. <summary>
  656. Checks whether a given <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> exists.
  657. </summary>
  658. <param name="name">The name of the <see cref="T:DotNetty.Transport.Channels.ChannelOption"/>.</param>
  659. <returns><c>true</c> if a <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> exists for the given <paramref name="name"/>, otherwise <c>false</c>.</returns>
  660. </member>
  661. <member name="M:DotNetty.Transport.Channels.ChannelOption.NewInstance``1(System.String)">
  662. <summary>
  663. Creates a new <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> for the given <paramref name="name"/>.
  664. </summary>
  665. <typeparam name="T">The type of option to create.</typeparam>
  666. <param name="name">The name to associate with the new option.</param>
  667. <exception cref="T:System.ArgumentException">Thrown if a <see cref="T:DotNetty.Transport.Channels.ChannelOption"/> for the given <paramref name="name"/> exists.</exception>
  668. <returns>The new <see cref="T:DotNetty.Transport.Channels.ChannelOption`1"/> instance.</returns>
  669. </member>
  670. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.AddMessage(System.Object,System.Int32,DotNetty.Common.Concurrency.TaskCompletionSource)">
  671. <summary>
  672. Adds the given message to this <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/>. The given
  673. <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> will be notified once the message was written.
  674. </summary>
  675. <param name="msg">The message to add to the buffer.</param>
  676. <param name="size">The size of the message.</param>
  677. <param name="promise">The <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> to notify once the message is written.</param>
  678. </member>
  679. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.AddFlush">
  680. <summary>
  681. Add a flush to this <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/>. This means all previous added messages are marked
  682. as flushed and so you will be able to handle them.
  683. </summary>
  684. </member>
  685. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.IncrementPendingOutboundBytes(System.Int64)">
  686. <summary>
  687. Increments the number of pending bytes which will be written at some point.
  688. This method is thread-safe!
  689. </summary>
  690. <param name="size">The number of bytes to increment the count by.</param>
  691. </member>
  692. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.DecrementPendingOutboundBytes(System.Int64)">
  693. <summary>
  694. Decrements the number of pending bytes which will be written at some point.
  695. This method is thread-safe!
  696. </summary>
  697. <param name="size">The number of bytes to decrement the count by.</param>
  698. </member>
  699. <member name="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.Current">
  700. <summary>
  701. Returns the current message to write, or <c>null</c> if nothing was flushed before and so is ready to be
  702. written.
  703. </summary>
  704. </member>
  705. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.Progress(System.Int64)">
  706. <summary>
  707. Notify the <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> of the current message about writing progress.
  708. </summary>
  709. </member>
  710. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.Remove">
  711. <summary>
  712. Removes the current message, marks its <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> as complete, and returns
  713. <c>true</c>. If no flushed message exists at the time this method is called, it returns <c>false</c> to
  714. signal that no more messages are ready to be handled.
  715. </summary>
  716. <returns><c>true</c> if a message existed and was removed, otherwise <c>false</c>.</returns>
  717. </member>
  718. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.Remove(System.Exception)">
  719. <summary>
  720. Removes the current message, marks its <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> as complete using the given
  721. <see cref="T:System.Exception"/>, and returns <c>true</c>. If no flushed message exists at the time this method is
  722. called, it returns <c>false</c> to signal that no more messages are ready to be handled.
  723. </summary>
  724. <param name="cause">The <see cref="T:System.Exception"/> causing the message to be removed.</param>
  725. <returns><c>true</c> if a message existed and was removed, otherwise <c>false</c>.</returns>
  726. </member>
  727. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.RemoveBytes(System.Int64)">
  728. <summary>
  729. Removes the fully written entries and updates the reader index of the partially written entry.
  730. This operation assumes all messages in this buffer are <see cref="T:DotNetty.Buffers.IByteBuffer"/> instances.
  731. </summary>
  732. <param name="writtenBytes">The number of bytes that have been written so far.</param>
  733. </member>
  734. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.ClearNioBuffers">
  735. <summary>
  736. Clears all ByteBuffer from the array so these can be GC'ed.
  737. See https://github.com/netty/netty/issues/3837
  738. </summary>
  739. </member>
  740. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.GetSharedBufferList">
  741. <summary>
  742. Returns a list of direct ArraySegment&lt;byte&gt;, if the currently pending messages are made of
  743. <see cref="T:DotNetty.Buffers.IByteBuffer"/> instances only. <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.NioBufferSize"/> will return the total number of
  744. readable bytes of these buffers.
  745. <para>
  746. Note that the returned array is reused and thus should not escape
  747. <see cref="M:DotNetty.Transport.Channels.AbstractChannel.DoWrite(DotNetty.Transport.Channels.ChannelOutboundBuffer)"/>. Refer to
  748. <see cref="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.DoWrite(DotNetty.Transport.Channels.ChannelOutboundBuffer)"/> for an example.
  749. </para>
  750. </summary>
  751. <returns>A list of ArraySegment&lt;byte&gt; buffers.</returns>
  752. </member>
  753. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.GetSharedBufferList(System.Int32,System.Int64)">
  754. <summary>
  755. Returns a list of direct ArraySegment&lt;byte&gt;, if the currently pending messages are made of
  756. <see cref="T:DotNetty.Buffers.IByteBuffer"/> instances only. <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.NioBufferSize"/> will return the total number of
  757. readable bytes of these buffers.
  758. <para>
  759. Note that the returned array is reused and thus should not escape
  760. <see cref="M:DotNetty.Transport.Channels.AbstractChannel.DoWrite(DotNetty.Transport.Channels.ChannelOutboundBuffer)"/>. Refer to
  761. <see cref="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.DoWrite(DotNetty.Transport.Channels.ChannelOutboundBuffer)"/> for an example.
  762. </para>
  763. </summary>
  764. <param name="maxCount">The maximum amount of buffers that will be added to the return value.</param>
  765. <param name="maxBytes">A hint toward the maximum number of bytes to include as part of the return value. Note that this value maybe exceeded because we make a best effort to include at least 1 <see cref="T:DotNetty.Buffers.IByteBuffer"/> in the return value to ensure write progress is made.</param>
  766. <returns>A list of ArraySegment&lt;byte&gt; buffers.</returns>
  767. </member>
  768. <member name="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.NioBufferSize">
  769. <summary>
  770. Returns the number of bytes that can be written out of the <see cref="T:DotNetty.Buffers.IByteBuffer"/> array that was
  771. obtained via <see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.GetSharedBufferList"/>. This method <strong>MUST</strong> be called after
  772. <see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.GetSharedBufferList"/>.
  773. </summary>
  774. </member>
  775. <member name="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable">
  776. <summary>
  777. Returns <c>true</c> if and only if the total number of pending bytes (<see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.TotalPendingWriteBytes"/>)
  778. did not exceed the write watermark of the <see cref="T:DotNetty.Transport.Channels.IChannel"/> and no user-defined writability flag
  779. (<see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.SetUserDefinedWritability(System.Int32,System.Boolean)"/>) has been set to <c>false</c>.
  780. </summary>
  781. </member>
  782. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.GetUserDefinedWritability(System.Int32)">
  783. <summary>
  784. Returns <c>true</c> if and only if the user-defined writability flag at the specified index is set to
  785. <c>true</c>.
  786. </summary>
  787. <param name="index">The index to check for user-defined writability.</param>
  788. <returns>
  789. <c>true</c> if the user-defined writability flag at the specified index is set to <c>true</c>.
  790. </returns>
  791. </member>
  792. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.SetUserDefinedWritability(System.Int32,System.Boolean)">
  793. <summary>
  794. Sets a user-defined writability flag at the specified index.
  795. </summary>
  796. <param name="index">The index where a writability flag should be set.</param>
  797. <param name="writable">Whether to set the index as writable or not.</param>
  798. </member>
  799. <member name="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.Size">
  800. <summary>
  801. Returns the number of flushed messages in this <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/>.
  802. </summary>
  803. </member>
  804. <member name="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsEmpty">
  805. <summary>
  806. Returns <c>true</c> if there are flushed messages in this <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/>, otherwise
  807. <c>false</c>.
  808. </summary>
  809. </member>
  810. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.BytesBeforeUnwritable">
  811. <summary>
  812. Gets the number of bytes that can be written before <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/> returns <c>false</c>.
  813. This quantity will always be non-negative. If <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/> is already <c>false</c>, then 0 is
  814. returned.
  815. </summary>
  816. <returns>
  817. The number of bytes that can be written before <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/> returns <c>false</c>.
  818. </returns>
  819. </member>
  820. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.BytesBeforeWritable">
  821. <summary>
  822. Gets the number of bytes that must be drained from the underlying buffer before <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/>
  823. returns <c>true</c>. This quantity will always be non-negative. If <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/> is already
  824. <c>true</c>, then 0 is returned.
  825. </summary>
  826. <returns>
  827. The number of bytes that can be written before <see cref="P:DotNetty.Transport.Channels.ChannelOutboundBuffer.IsWritable"/> returns <c>true</c>.
  828. </returns>
  829. </member>
  830. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.ForEachFlushedMessage(DotNetty.Transport.Channels.ChannelOutboundBuffer.IMessageProcessor)">
  831. <summary>
  832. Calls <see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.IMessageProcessor.ProcessMessage(System.Object)"/> for each flushed message in this
  833. <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer"/> until <see cref="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.IMessageProcessor.ProcessMessage(System.Object)"/> returns
  834. <c>false</c> or there are no more flushed messages to process.
  835. </summary>
  836. <param name="processor">
  837. The <see cref="T:DotNetty.Transport.Channels.ChannelOutboundBuffer.IMessageProcessor"/> intance to use to process each flushed message.
  838. </param>
  839. </member>
  840. <member name="M:DotNetty.Transport.Channels.ChannelOutboundBuffer.IMessageProcessor.ProcessMessage(System.Object)">
  841. <summary>
  842. Will be called for each flushed message until it either there are no more flushed messages or this method returns <c>false</c>.
  843. </summary>
  844. <param name="msg">The message to process.</param>
  845. <returns><c>true</c> if the given message was successfully processed, otherwise <c>false</c>.</returns>
  846. </member>
  847. <member name="T:DotNetty.Transport.Channels.DefaultChannelConfiguration">
  848. <summary>
  849. Shared configuration for SocketAsyncChannel. Provides access to pre-configured resources like ByteBuf allocator and
  850. IO buffer pools
  851. </summary>
  852. </member>
  853. <member name="F:DotNetty.Transport.Channels.DefaultChannelPipeline.pendingHandlerCallbackHead">
  854. <summary>
  855. This is the head of a linked list that is processed by <see cref="M:DotNetty.Transport.Channels.DefaultChannelPipeline.CallHandlerAddedForAllHandlers" /> and so
  856. process all the pending <see cref="M:DotNetty.Transport.Channels.DefaultChannelPipeline.CallHandlerAdded0(DotNetty.Transport.Channels.AbstractChannelHandlerContext)" />. We only keep the head because it is expected that
  857. the list is used infrequently and its size is small. Thus full iterations to do insertions is assumed to be
  858. a good compromised to saving memory and tail management complexity.
  859. </summary>
  860. </member>
  861. <member name="F:DotNetty.Transport.Channels.DefaultChannelPipeline.registered">
  862. <summary>
  863. Set to <c>true</c> once the <see cref="T:DotNetty.Transport.Channels.AbstractChannel" /> is registered. Once set to <c>true</c>, the
  864. value will never change.
  865. </summary>
  866. </member>
  867. <member name="M:DotNetty.Transport.Channels.DefaultChannelPipeline.ToString">
  868. <summary>
  869. Returns the string representation of this pipeline.
  870. </summary>
  871. </member>
  872. <member name="M:DotNetty.Transport.Channels.DefaultChannelPipeline.Destroy">
  873. <summary>
  874. Removes all handlers from the pipeline one by one from tail (exclusive) to head (exclusive) to trigger
  875. <see cref="M:DotNetty.Transport.Channels.IChannelHandler.HandlerRemoved(DotNetty.Transport.Channels.IChannelHandlerContext)"/>. Note that we traverse up the pipeline <see cref="M:DotNetty.Transport.Channels.DefaultChannelPipeline.DestroyUp(DotNetty.Transport.Channels.AbstractChannelHandlerContext,System.Boolean)"/>
  876. before traversing down <see cref="M:DotNetty.Transport.Channels.DefaultChannelPipeline.DestroyDown(DotNetty.Common.Concurrency.XThread,DotNetty.Transport.Channels.AbstractChannelHandlerContext,System.Boolean)"/> so that the handlers are removed after all events are
  877. handled.
  878. See: https://github.com/netty/netty/issues/3156
  879. </summary>
  880. </member>
  881. <member name="M:DotNetty.Transport.Channels.DefaultChannelPipeline.OnUnhandledInboundException(System.Exception)">
  882. <summary>
  883. Called once an <see cref="T:System.Exception" /> hits the end of the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline" /> without being
  884. handled by the user in <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ExceptionCaught(DotNetty.Transport.Channels.IChannelHandlerContext,System.Exception)" />.
  885. </summary>
  886. </member>
  887. <member name="M:DotNetty.Transport.Channels.DefaultChannelPipeline.OnUnhandledInboundMessage(System.Object)">
  888. <summary>
  889. Called once a message hits the end of the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline" /> without being handled by the user
  890. in <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRead(DotNetty.Transport.Channels.IChannelHandlerContext,System.Object)" />. This method is responsible
  891. for calling <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.Release(System.Object)" /> on the given msg at some point.
  892. </summary>
  893. </member>
  894. <member name="T:DotNetty.Transport.Channels.DefaultMaxMessagesRecvByteBufAllocator">
  895. <summary>
  896. Default implementation of <see cref="T:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator" /> which respects
  897. <see cref="P:DotNetty.Transport.Channels.IChannelConfiguration.AutoRead" />
  898. and also prevents overflow.
  899. </summary>
  900. </member>
  901. <member name="T:DotNetty.Transport.Channels.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle`1">
  902. <summary>Focuses on enforcing the maximum messages per read condition for <see cref="M:DotNetty.Transport.Channels.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle`1.ContinueReading" />.</summary>
  903. </member>
  904. <member name="M:DotNetty.Transport.Channels.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle`1.Reset(DotNetty.Transport.Channels.IChannelConfiguration)">
  905. <summary>Only <see cref="!:IChannelConfiguration.MaxMessagesPerRead" /> is used.</summary>
  906. </member>
  907. <member name="F:DotNetty.Transport.Channels.DefaultMessageSizeEstimator.Default">
  908. <summary>
  909. Returns the default implementation, which returns <c>0</c> for unknown messages.
  910. </summary>
  911. </member>
  912. <member name="M:DotNetty.Transport.Channels.DefaultMessageSizeEstimator.#ctor(System.Int32)">
  913. <summary>
  914. Creates a new instance.
  915. </summary>
  916. <param name="unknownSize">The size which is returned for unknown messages.</param>
  917. </member>
  918. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.#ctor">
  919. <summary>
  920. Create a new instance with an empty pipeline.
  921. </summary>
  922. </member>
  923. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.#ctor(DotNetty.Transport.Channels.IChannelId)">
  924. <summary>
  925. Create a new instance with an empty pipeline with the specified <see cref="T:DotNetty.Transport.Channels.IChannelId" />.
  926. </summary>
  927. <param name="channelId">The <see cref="T:DotNetty.Transport.Channels.IChannelId" /> of this channel. </param>
  928. </member>
  929. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.#ctor(DotNetty.Transport.Channels.IChannelHandler[])">
  930. <summary>
  931. Create a new instance with the pipeline initialized with the specified handlers.
  932. </summary>
  933. <param name="handlers">
  934. The <see cref="T:DotNetty.Transport.Channels.IChannelHandler" />s that will be added to the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline" />
  935. </param>
  936. </member>
  937. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.#ctor(DotNetty.Transport.Channels.IChannelId,System.Boolean,DotNetty.Transport.Channels.IChannelHandler[])">
  938. <summary>Create a new instance with the pipeline initialized with the specified handlers.</summary>
  939. <param name="id">The <see cref="T:DotNetty.Transport.Channels.IChannelId" /> of this channel.</param>
  940. <param name="hasDisconnect">
  941. <c>false</c> if this <see cref="T:DotNetty.Transport.Channels.IChannel" /> will delegate <see cref="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.DisconnectAsync" />
  942. to <see cref="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.CloseAsync" />, <c>true</c> otherwise.
  943. </param>
  944. <param name="handlers">
  945. The <see cref="T:DotNetty.Transport.Channels.IChannelHandler" />s that will be added to the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline" />
  946. </param>
  947. </member>
  948. <member name="P:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.InboundMessages">
  949. <summary>
  950. Returns the <see cref="T:System.Collections.Generic.Queue`1" /> which holds all of the <see cref="T:System.Object" />s that
  951. were received by this <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  952. </summary>
  953. </member>
  954. <member name="P:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.OutboundMessages">
  955. <summary>
  956. Returns the <see cref="T:System.Collections.Generic.Queue`1" /> which holds all of the <see cref="T:System.Object" />s that
  957. were written by this <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  958. </summary>
  959. </member>
  960. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.ReadInbound``1">
  961. <summary>
  962. Return received data from this <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  963. </summary>
  964. </member>
  965. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.ReadOutbound``1">
  966. <summary>
  967. Read data from the outbound. This may return <c>null</c> if nothing is readable.
  968. </summary>
  969. </member>
  970. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.RunPendingTasks">
  971. <summary>
  972. Run all tasks (which also includes scheduled tasks) that are pending in the <see cref="T:DotNetty.Transport.Channels.IEventLoop" />
  973. for this <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  974. </summary>
  975. </member>
  976. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.RunScheduledPendingTasks">
  977. <summary>
  978. Run all pending scheduled tasks in the <see cref="T:DotNetty.Transport.Channels.IEventLoop" /> for this <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  979. </summary>
  980. <returns>
  981. The <see cref="T:DotNetty.Common.PreciseTimeSpan" /> when the next scheduled task is ready to run. If no other task is
  982. scheduled then it will return <see cref="F:DotNetty.Common.PreciseTimeSpan.Zero" />.
  983. </returns>
  984. </member>
  985. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.WriteInbound(System.Object[])">
  986. <summary>
  987. Write messages to the inbound of this <see cref="T:DotNetty.Transport.Channels.IChannel" />
  988. </summary>
  989. <param name="msgs">The messages to be written.</param>
  990. <returns><c>true</c> if the write operation did add something to the inbound buffer</returns>
  991. </member>
  992. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.WriteOutbound(System.Object[])">
  993. <summary>
  994. Write messages to the outbound of this <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  995. </summary>
  996. <param name="msgs">The messages to be written.</param>
  997. <returns><c>true</c> if the write operation did add something to the inbound buffer</returns>
  998. </member>
  999. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.Finish">
  1000. <summary>
  1001. Mark this <see cref="T:DotNetty.Transport.Channels.IChannel" /> as finished. Any further try to write data to it will fail.
  1002. </summary>
  1003. <returns>bufferReadable returns <c>true</c></returns>
  1004. </member>
  1005. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.FinishAndReleaseAll">
  1006. <summary>
  1007. Marks this <see cref="T:DotNetty.Transport.Channels.IChannel"/> as finished and releases all pending message in the inbound and outbound
  1008. buffer. Any futher try to write data to it will fail.
  1009. </summary>
  1010. <returns><c>true</c> if any of the used buffers has something left to read, otherwise <c>false</c>.</returns>
  1011. </member>
  1012. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.Finish(System.Boolean)">
  1013. <summary>
  1014. Marks this <see cref="T:DotNetty.Transport.Channels.IChannel"/> as finished. Any futher attempt to write data to it will fail.
  1015. </summary>
  1016. <param name="releaseAll">If <c>true</c>, all pending messages in the inbound and outbound buffer are released.</param>
  1017. <returns><c>true</c> if any of the used buffers has something left to read, otherwise <c>false</c>.</returns>
  1018. </member>
  1019. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.ReleaseInbound">
  1020. <summary>
  1021. Releases all buffered inbound messages.
  1022. </summary>
  1023. <returns><c>true</c> if any were in the inbound buffer, otherwise <c>false</c>.</returns>
  1024. </member>
  1025. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.ReleaseOutbound">
  1026. <summary>
  1027. Releases all buffered outbound messages.
  1028. </summary>
  1029. <returns><c>true</c> if any were in the outbound buffer, otherwise <c>false</c>.</returns>
  1030. </member>
  1031. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.CheckException">
  1032. <summary>
  1033. Check to see if there was any <see cref="T:System.Exception" /> and rethrow if so.
  1034. </summary>
  1035. </member>
  1036. <member name="M:DotNetty.Transport.Channels.Embedded.EmbeddedChannel.EnsureOpen">
  1037. <summary>
  1038. Ensure the <see cref="T:DotNetty.Transport.Channels.IChannel" /> is open and if not throw an exception.
  1039. </summary>
  1040. </member>
  1041. <member name="T:DotNetty.Transport.Channels.Embedded.EmbeddedChannelId">
  1042. <summary>
  1043. A dummy <see cref="T:DotNetty.Transport.Channels.IChannelId" /> implementation
  1044. </summary>
  1045. </member>
  1046. <member name="T:DotNetty.Transport.Channels.FixedRecvByteBufAllocator">
  1047. <summary>
  1048. The <see cref="T:DotNetty.Transport.Channels.IRecvByteBufAllocator" /> that always yields the same buffer
  1049. size prediction. This predictor ignores the feedback from the I/O thread.
  1050. </summary>
  1051. </member>
  1052. <member name="M:DotNetty.Transport.Channels.FixedRecvByteBufAllocator.#ctor(System.Int32)">
  1053. <summary>
  1054. Creates a new predictor that always returns the same prediction of
  1055. the specified buffer size.
  1056. </summary>
  1057. </member>
  1058. <member name="P:DotNetty.Transport.Channels.Groups.IChannelGroup.Name">
  1059. <summary>
  1060. Returns the name of this group. A group name is purely for helping
  1061. you to distinguish one group from others.
  1062. </summary>
  1063. </member>
  1064. <member name="P:DotNetty.Transport.Channels.IChannel.Metadata">
  1065. <summary>
  1066. Return the <see cref="T:DotNetty.Transport.Channels.ChannelMetadata" /> of the <see cref="T:DotNetty.Transport.Channels.IChannel" /> which describe the nature of the
  1067. <see cref="T:DotNetty.Transport.Channels.IChannel" />.
  1068. </summary>
  1069. </member>
  1070. <member name="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRegistered(DotNetty.Transport.Channels.IChannelHandlerContext)">
  1071. <summary>
  1072. The <see cref="T:DotNetty.Transport.Channels.IChannel"/> of the <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> was registered with its
  1073. <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  1074. </summary>
  1075. </member>
  1076. <member name="M:DotNetty.Transport.Channels.IChannelHandler.ChannelUnregistered(DotNetty.Transport.Channels.IChannelHandlerContext)">
  1077. <summary>
  1078. The <see cref="T:DotNetty.Transport.Channels.IChannel"/> of the <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> was unregistered from its
  1079. <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  1080. </summary>
  1081. </member>
  1082. <member name="M:DotNetty.Transport.Channels.IChannelHandler.ChannelWritabilityChanged(DotNetty.Transport.Channels.IChannelHandlerContext)">
  1083. <summary>
  1084. Gets called once the writable state of a <see cref="T:DotNetty.Transport.Channels.IChannel"/> changed. You can check the state with
  1085. <see cref="P:DotNetty.Transport.Channels.IChannel.IsWritable"/>.
  1086. </summary>
  1087. </member>
  1088. <member name="M:DotNetty.Transport.Channels.IChannelHandler.BindAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint)">
  1089. <summary>
  1090. Called once a bind operation is made.
  1091. </summary>
  1092. <param name="context">
  1093. The <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> for which the bind operation is made.
  1094. </param>
  1095. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> to which it should bind.</param>
  1096. <returns>An await-able task.</returns>
  1097. </member>
  1098. <member name="M:DotNetty.Transport.Channels.IChannelHandler.ConnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint,System.Net.EndPoint)">
  1099. <summary>
  1100. Called once a connect operation is made.
  1101. </summary>
  1102. <param name="context">
  1103. The <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> for which the connect operation is made.
  1104. </param>
  1105. <param name="remoteAddress">The <see cref="T:System.Net.EndPoint"/> to which it should connect.</param>
  1106. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> which is used as source on connect.</param>
  1107. <returns>An await-able task.</returns>
  1108. </member>
  1109. <member name="M:DotNetty.Transport.Channels.IChannelHandler.DisconnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext)">
  1110. <summary>
  1111. Called once a disconnect operation is made.
  1112. </summary>
  1113. <param name="context">
  1114. The <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> for which the disconnect operation is made.
  1115. </param>
  1116. <returns>An await-able task.</returns>
  1117. </member>
  1118. <member name="P:DotNetty.Transport.Channels.IChannelHandlerContext.Executor">
  1119. <summary>
  1120. Returns the <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/> which is used to execute an arbitrary task.
  1121. </summary>
  1122. </member>
  1123. <member name="P:DotNetty.Transport.Channels.IChannelHandlerContext.Name">
  1124. <summary>
  1125. The unique name of the <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/>.
  1126. </summary>
  1127. <remarks>
  1128. The name was used when the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> was added to the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.
  1129. This name can also be used to access the registered <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> from the
  1130. <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.
  1131. </remarks>
  1132. </member>
  1133. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelRegistered">
  1134. <summary>
  1135. A <see cref="T:DotNetty.Transport.Channels.IChannel"/> was registered to its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>. This will result in having the
  1136. <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRegistered(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>
  1137. contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1138. </summary>
  1139. <returns>The current <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/>.</returns>
  1140. </member>
  1141. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelUnregistered">
  1142. <summary>
  1143. A <see cref="T:DotNetty.Transport.Channels.IChannel"/> was unregistered from its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>. This will result in having the
  1144. <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelUnregistered(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>
  1145. contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1146. </summary>
  1147. <returns>The current <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/>.</returns>
  1148. </member>
  1149. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.BindAsync(System.Net.EndPoint)">
  1150. <summary>
  1151. Request to bind to the given <see cref="T:System.Net.EndPoint"/>.
  1152. <para>
  1153. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.BindAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint)"/> method called of the next
  1154. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1155. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1156. </para>
  1157. </summary>
  1158. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> to bind to.</param>
  1159. <returns>An await-able task.</returns>
  1160. </member>
  1161. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.ConnectAsync(System.Net.EndPoint)">
  1162. <summary>
  1163. Request to connect to the given <see cref="T:System.Net.EndPoint"/>.
  1164. <para>
  1165. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ConnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint,System.Net.EndPoint)"/> method called of the next
  1166. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1167. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1168. </para>
  1169. </summary>
  1170. <param name="remoteAddress">The <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  1171. <returns>An await-able task.</returns>
  1172. </member>
  1173. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.ConnectAsync(System.Net.EndPoint,System.Net.EndPoint)">
  1174. <summary>
  1175. Request to connect to the given <see cref="T:System.Net.EndPoint"/> while also binding to the localAddress.
  1176. <para>
  1177. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ConnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint,System.Net.EndPoint)"/> method called of the next
  1178. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1179. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1180. </para>
  1181. </summary>
  1182. <param name="remoteAddress">The <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  1183. <param name="localAddress">The <see cref="T:System.Net.EndPoint"/> to bind to.</param>
  1184. <returns>An await-able task.</returns>
  1185. </member>
  1186. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.DisconnectAsync">
  1187. <summary>
  1188. Request to disconnect from the remote peer.
  1189. <para>
  1190. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.DisconnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1191. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1192. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1193. </para>
  1194. </summary>
  1195. <returns>An await-able task.</returns>
  1196. </member>
  1197. <member name="M:DotNetty.Transport.Channels.IChannelHandlerContext.DeregisterAsync">
  1198. <summary>
  1199. Request to deregister from the previous assigned <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/>.
  1200. <para>
  1201. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.DeregisterAsync(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1202. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1203. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1204. </para>
  1205. </summary>
  1206. <returns>An await-able task.</returns>
  1207. </member>
  1208. <member name="T:DotNetty.Transport.Channels.IChannelPipeline">
  1209. <summary>
  1210. A list of <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s which handles or intercepts inbound events and outbound operations of
  1211. a <see cref="T:DotNetty.Transport.Channels.IChannel"/>. <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> implements an advanced form of the
  1212. <a href="http://www.oracle.com/technetwork/java/interceptingfilter-142169.html">Intercepting Filter</a> pattern
  1213. to give a user full control over how an event is handled and how the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s in a
  1214. pipeline interact with each other.
  1215. <para>Creation of a pipeline</para>
  1216. <para>Each channel has its own pipeline and it is created automatically when a new channel is created.</para>
  1217. <para>How an event flows in a pipeline</para>
  1218. <para>
  1219. The following diagram describes how I/O events are processed by <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s in a
  1220. <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> typically. An I/O event is handled by a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> and is
  1221. forwarded by the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> which handled the event to the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>
  1222. which is placed right next to it. A <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> can also trigger an arbitrary I/O event if
  1223. necessary. To forward or trigger an event, a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> calls the event propagation methods
  1224. defined in <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/>, such as <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelRead(System.Object)"/>
  1225. and <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)"/>.
  1226. </para>
  1227. <para>
  1228. <pre>
  1229. I/O Request
  1230. via <see cref="T:DotNetty.Transport.Channels.IChannel"/> or
  1231. {@link ChannelHandlerContext}
  1232. |
  1233. +---------------------------------------------------+---------------+
  1234. | ChannelPipeline | |
  1235. | \|/ |
  1236. | +----------------------------------------------+----------+ |
  1237. | | ChannelHandler N | |
  1238. | +----------+-----------------------------------+----------+ |
  1239. | /|\ | |
  1240. | | \|/ |
  1241. | +----------+-----------------------------------+----------+ |
  1242. | | ChannelHandler N-1 | |
  1243. | +----------+-----------------------------------+----------+ |
  1244. | /|\ . |
  1245. | . . |
  1246. | ChannelHandlerContext.fireIN_EVT() ChannelHandlerContext.OUT_EVT()|
  1247. | [method call] [method call] |
  1248. | . . |
  1249. | . \|/ |
  1250. | +----------+-----------------------------------+----------+ |
  1251. | | ChannelHandler 2 | |
  1252. | +----------+-----------------------------------+----------+ |
  1253. | /|\ | |
  1254. | | \|/ |
  1255. | +----------+-----------------------------------+----------+ |
  1256. | | ChannelHandler 1 | |
  1257. | +----------+-----------------------------------+----------+ |
  1258. | /|\ | |
  1259. +---------------+-----------------------------------+---------------+
  1260. | \|/
  1261. +---------------+-----------------------------------+---------------+
  1262. | | | |
  1263. | [ Socket.read() ] [ Socket.write() ] |
  1264. | |
  1265. | Netty Internal I/O Threads (Transport Implementation) |
  1266. +-------------------------------------------------------------------+
  1267. </pre>
  1268. </para>
  1269. <para>
  1270. An inbound event is handled by the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s in the bottom-up direction as shown on the
  1271. left side of the diagram. An inbound event is usually triggered by the I/O thread on the bottom of the diagram
  1272. so that the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s are notified when the state of a <see cref="T:DotNetty.Transport.Channels.IChannel"/> changes
  1273. (e.g. newly established connections and closed connections) or the inbound data was read from a remote peer. If
  1274. an inbound event goes beyond the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the top of the diagram, it is discarded and
  1275. logged, depending on your loglevel.
  1276. </para>
  1277. <para>
  1278. An outbound event is handled by the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s in the top-down direction as shown on the
  1279. right side of the diagram. An outbound event is usually triggered by your code that requests an outbound I/O
  1280. operation, such as a write request and a connection attempt. If an outbound event goes beyond the
  1281. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the bottom of the diagram, it is handled by an I/O thread associated with the
  1282. <see cref="T:DotNetty.Transport.Channels.IChannel"/>. The I/O thread often performs the actual output operation such as
  1283. <see cref="M:DotNetty.Transport.Channels.AbstractChannel.WriteAsync(System.Object)"/>.
  1284. </para>
  1285. <para>Forwarding an event to the next handler</para>
  1286. <para>
  1287. As explained briefly above, a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> has to invoke the event propagation methods in
  1288. <see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> to forward an event to its next handler. Those methods include:
  1289. <ul>
  1290. <li>
  1291. Inbound event propagation methods:
  1292. <ul>
  1293. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelRegistered"/></li>
  1294. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelActive"/></li>
  1295. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelRead(System.Object)"/></li>
  1296. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelReadComplete"/></li>
  1297. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireExceptionCaught(System.Exception)"/></li>
  1298. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireUserEventTriggered(System.Object)"/></li>
  1299. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelWritabilityChanged"/></li>
  1300. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.FireChannelInactive"/></li>
  1301. </ul>
  1302. </li>
  1303. <li>
  1304. Outbound event propagation methods:
  1305. <ul>
  1306. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.BindAsync(System.Net.EndPoint)"/></li>
  1307. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.ConnectAsync(System.Net.EndPoint)"/></li>
  1308. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.ConnectAsync(System.Net.EndPoint,System.Net.EndPoint)"/></li>
  1309. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)"/></li>
  1310. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.Flush"/></li>
  1311. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.Read"/></li>
  1312. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.DisconnectAsync"/></li>
  1313. <li><see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.CloseAsync"/></li>
  1314. </ul>
  1315. </li>
  1316. </ul>
  1317. </para>
  1318. <para>
  1319. and the following example shows how the event propagation is usually done:
  1320. <code>
  1321. public class MyInboundHandler : <see cref="T:DotNetty.Transport.Channels.ChannelHandlerAdapter"/>
  1322. {
  1323. public override void ChannelActive(<see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> ctx)
  1324. {
  1325. Console.WriteLine("Connected!");
  1326. ctx.FireChannelActive();
  1327. }
  1328. }
  1329. public class MyOutboundHandler : <see cref="T:DotNetty.Transport.Channels.ChannelHandlerAdapter"/>
  1330. {
  1331. public override async Task CloseAsync(<see cref="T:DotNetty.Transport.Channels.IChannelHandlerContext"/> ctx)
  1332. {
  1333. Console.WriteLine("Closing...");
  1334. await ctx.CloseAsync();
  1335. }
  1336. }
  1337. </code>
  1338. </para>
  1339. <para>Building a pipeline</para>
  1340. <para>
  1341. A user is supposed to have one or more <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s in a pipeline to receive I/O events
  1342. (e.g. read) and to request I/O operations (e.g. write and close). For example, a typical server will have the
  1343. following handlers in each channel's pipeline, but your mileage may vary depending on the complexity and
  1344. characteristics of the protocol and business logic:
  1345. <ol>
  1346. <li>Protocol Decoder - translates binary data (e.g. <see cref="T:DotNetty.Buffers.IByteBuffer"/>) into a Java object.</li>
  1347. <li>Protocol Encoder - translates a Java object into binary data.</li>
  1348. <li>Business Logic Handler - performs the actual business logic (e.g. database access).</li>
  1349. </ol>
  1350. </para>
  1351. <para>
  1352. and it could be represented as shown in the following example:
  1353. <code>
  1354. static readonly <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> group = new <see cref="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup"/>();
  1355. ...
  1356. <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> pipeline = ch.Pipeline;
  1357. pipeline.AddLast("decoder", new MyProtocolDecoder());
  1358. pipeline.AddLast("encoder", new MyProtocolEncoder());
  1359. // Tell the pipeline to run MyBusinessLogicHandler's event handler methods
  1360. // in a different thread than an I/O thread so that the I/O thread is not blocked by
  1361. // a time-consuming task.
  1362. // If your business logic is fully asynchronous or finished very quickly, you don't
  1363. // need to specify a group.
  1364. pipeline.AddLast(group, "handler", new MyBusinessLogicHandler());
  1365. </code>
  1366. </para>
  1367. <para>Thread safety</para>
  1368. <para>
  1369. An <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> can be added or removed at any time because an <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>
  1370. is thread safe. For example, you can insert an encryption handler when sensitive information is about to be
  1371. exchanged, and remove it after the exchange.
  1372. </para>
  1373. </summary>
  1374. </member>
  1375. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddFirst(System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1376. <summary>
  1377. Inserts an <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the first position of this pipeline.
  1378. </summary>
  1379. <param name="name">
  1380. The name of the handler to insert first. Pass <c>null</c> to let the name auto-generated.
  1381. </param>
  1382. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to insert first.</param>
  1383. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1384. <exception cref="T:System.ArgumentException">
  1385. Thrown if an entry with the same <paramref name="name"/> already exists.
  1386. </exception>
  1387. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1388. </member>
  1389. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddFirst(DotNetty.Common.Concurrency.IEventExecutorGroup,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1390. <summary>
  1391. Inserts a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the first position of this pipeline.
  1392. </summary>
  1393. <param name="group">
  1394. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handler"/>'s event handler methods.
  1395. </param>
  1396. <param name="name">
  1397. The name of the handler to insert first. Pass <c>null</c> to let the name be auto-generated.
  1398. </param>
  1399. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to insert first.</param>
  1400. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1401. <exception cref="T:System.ArgumentException">
  1402. Thrown if an entry with the same <paramref name="name"/> already exists.
  1403. </exception>
  1404. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1405. </member>
  1406. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddLast(System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1407. <summary>
  1408. Appends an <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the last position of this pipeline.
  1409. </summary>
  1410. <param name="name">
  1411. The name of the handler to append. Pass <c>null</c> to let the name be auto-generated.
  1412. </param>
  1413. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to append.</param>
  1414. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1415. <exception cref="T:System.ArgumentException">
  1416. Thrown if an entry with the same <paramref name="name"/> already exists.
  1417. </exception>
  1418. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1419. </member>
  1420. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddLast(DotNetty.Common.Concurrency.IEventExecutorGroup,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1421. <summary>
  1422. Appends a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> at the last position of this pipeline.
  1423. </summary>
  1424. <param name="group">
  1425. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handler"/>'s event handler methods.
  1426. </param>
  1427. <param name="name">
  1428. The name of the handler to append. Pass <c>null</c> to let the name be auto-generated.
  1429. </param>
  1430. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to append.</param>
  1431. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1432. <exception cref="T:System.ArgumentException">
  1433. Thrown if an entry with the same <paramref name="name"/> already exists.
  1434. </exception>
  1435. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1436. </member>
  1437. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddBefore(System.String,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1438. <summary>
  1439. Inserts a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> before an existing handler of this pipeline.
  1440. </summary>
  1441. <param name="baseName">The name of the existing handler.</param>
  1442. <param name="name">
  1443. The name of the new handler being appended. Pass <c>null</c> to let the name be auto-generated.
  1444. </param>
  1445. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to append.</param>
  1446. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1447. <exception cref="T:System.ArgumentException">
  1448. Thrown if an entry with the same <paramref name="name"/> already exists, or if no match was found for the
  1449. given <paramref name="baseName"/>.
  1450. </exception>
  1451. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1452. </member>
  1453. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddBefore(DotNetty.Common.Concurrency.IEventExecutorGroup,System.String,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1454. <summary>
  1455. Inserts a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> before an existing handler of this pipeline.
  1456. </summary>
  1457. <param name="group">
  1458. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handler"/>'s event handler methods.
  1459. </param>
  1460. <param name="baseName">The name of the existing handler.</param>
  1461. <param name="name">
  1462. The name of the new handler being appended. Pass <c>null</c> to let the name be auto-generated.
  1463. </param>
  1464. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to append.</param>
  1465. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1466. <exception cref="T:System.ArgumentException">
  1467. Thrown if an entry with the same <paramref name="name"/> already exists, or if no match was found for the
  1468. given <paramref name="baseName"/>.
  1469. </exception>
  1470. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1471. </member>
  1472. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddAfter(System.String,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1473. <summary>
  1474. Inserts a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> after an existing handler of this pipeline.
  1475. </summary>
  1476. <param name="baseName">The name of the existing handler.</param>
  1477. <param name="name">
  1478. The name of the new handler being appended. Pass <c>null</c> to let the name be auto-generated.
  1479. </param>
  1480. <param name="handler">The handler to insert after.</param>
  1481. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1482. <exception cref="T:System.ArgumentException">
  1483. Thrown if an entry with the same <paramref name="name"/> already exists, or if no match was found for the
  1484. given <paramref name="baseName"/>.
  1485. </exception>
  1486. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1487. </member>
  1488. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddAfter(DotNetty.Common.Concurrency.IEventExecutorGroup,System.String,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1489. <summary>
  1490. Inserts a <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> after an existing handler of this pipeline.
  1491. </summary>
  1492. <param name="group">
  1493. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handler"/>'s event handler methods.
  1494. </param>
  1495. <param name="baseName">The name of the existing handler.</param>
  1496. <param name="name">
  1497. The name of the new handler being appended. Pass <c>null</c> to let the name be auto-generated.
  1498. </param>
  1499. <param name="handler">The handler to insert after.</param>
  1500. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1501. <exception cref="T:System.ArgumentException">
  1502. Thrown if an entry with the same <paramref name="name"/> already exists, or if no match was found for the
  1503. given <paramref name="baseName"/>.
  1504. </exception>
  1505. <exception cref="T:System.ArgumentNullException">Thrown if the specified handler is <c>null</c>.</exception>
  1506. </member>
  1507. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddFirst(DotNetty.Transport.Channels.IChannelHandler[])">
  1508. <summary>
  1509. Inserts multiple <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s at the first position of this pipeline.
  1510. </summary>
  1511. <param name="handlers">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s to insert.</param>
  1512. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1513. </member>
  1514. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddFirst(DotNetty.Common.Concurrency.IEventExecutorGroup,DotNetty.Transport.Channels.IChannelHandler[])">
  1515. <summary>
  1516. Inserts multiple <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s at the first position of this pipeline.
  1517. </summary>
  1518. <param name="group">
  1519. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handlers"/>' event handler methods.
  1520. </param>
  1521. <param name="handlers">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s to insert.</param>
  1522. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1523. </member>
  1524. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddLast(DotNetty.Transport.Channels.IChannelHandler[])">
  1525. <summary>
  1526. Inserts multiple <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s at the last position of this pipeline.
  1527. </summary>
  1528. <param name="handlers">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s to insert.</param>
  1529. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1530. </member>
  1531. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.AddLast(DotNetty.Common.Concurrency.IEventExecutorGroup,DotNetty.Transport.Channels.IChannelHandler[])">
  1532. <summary>
  1533. Inserts multiple <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s at the last position of this pipeline.
  1534. </summary>
  1535. <param name="group">
  1536. The <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup"/> which invokes the <paramref name="handlers"/>' event handler methods.
  1537. </param>
  1538. <param name="handlers">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>s to insert.</param>
  1539. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1540. </member>
  1541. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Remove(DotNetty.Transport.Channels.IChannelHandler)">
  1542. <summary>
  1543. Removes the specified <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> from this pipeline.
  1544. </summary>
  1545. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to remove.</param>
  1546. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1547. <exception cref="T:System.ArgumentException">Thrown if the specified handler was not found.</exception>
  1548. </member>
  1549. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Remove(System.String)">
  1550. <summary>
  1551. Removes the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> with the specified name from this pipeline.
  1552. </summary>
  1553. <param name="name">The name under which the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> was stored.</param>
  1554. <returns>The removed <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>.</returns>
  1555. <exception cref="T:System.ArgumentException">
  1556. Thrown if there's no such handler with the specified name in this pipeline.
  1557. </exception>
  1558. </member>
  1559. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Remove``1">
  1560. <summary>
  1561. Removes the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> of the specified type from this pipeline.
  1562. </summary>
  1563. <typeparam name="T">The type of handler to remove.</typeparam>
  1564. <returns>The removed <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>.</returns>
  1565. <exception cref="T:System.ArgumentException">Thrown if there's no handler of the specified type in this pipeline.</exception>
  1566. </member>
  1567. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.RemoveFirst">
  1568. <summary>
  1569. Removes the first <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1570. </summary>
  1571. <returns>The removed <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>.</returns>
  1572. <exception cref="T:System.InvalidOperationException">Thrown if this pipeline is empty.</exception>
  1573. </member>
  1574. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.RemoveLast">
  1575. <summary>
  1576. Removes the last <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1577. </summary>
  1578. <returns>The removed <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>.</returns>
  1579. <exception cref="T:System.InvalidOperationException">Thrown if this pipeline is empty.</exception>
  1580. </member>
  1581. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Replace(DotNetty.Transport.Channels.IChannelHandler,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1582. <summary>
  1583. Replaces the specified <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> with a new handler in this pipeline.
  1584. </summary>
  1585. <param name="oldHandler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to be replaced.</param>
  1586. <param name="newName">
  1587. The name of the new handler being inserted. Pass <c>null</c> to let the name be auto-generated.
  1588. </param>
  1589. <param name="newHandler">The new <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to be inserted.</param>
  1590. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1591. <exception cref="T:System.ArgumentException">
  1592. Thrown if an entry with the same <paramref name="newName"/> already exists, or if the
  1593. <paramref name="oldHandler"/> was not found.
  1594. </exception>
  1595. </member>
  1596. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Replace(System.String,System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1597. <summary>
  1598. Replaces the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> of the specified name with a new handler in this pipeline.
  1599. </summary>
  1600. <param name="oldName">The name of the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to be replaced.</param>
  1601. <param name="newName">
  1602. The name of the new handler being inserted. Pass <c>null</c> to let the name be auto-generated.
  1603. </param>
  1604. <param name="newHandler">The new <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to be inserted.</param>
  1605. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> that was replaced.</returns>
  1606. <exception cref="T:System.ArgumentException">
  1607. Thrown if an entry with the same <paramref name="newName"/> already exists, or if no match was found for
  1608. the given <paramref name="oldName"/>.
  1609. </exception>
  1610. </member>
  1611. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Replace``1(System.String,DotNetty.Transport.Channels.IChannelHandler)">
  1612. <summary>
  1613. Replaces the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> of the specified type with a new handler in this pipeline.
  1614. </summary>
  1615. <typeparam name="T">The type of the handler to be removed.</typeparam>
  1616. <param name="newName">
  1617. The name of the new handler being inserted. Pass <c>null</c> to let the name be auto-generated.
  1618. </param>
  1619. <param name="newHandler">The new <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> to be inserted.</param>
  1620. <returns>The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> that was replaced.</returns>
  1621. <exception cref="T:System.ArgumentException">
  1622. Thrown if an entry with the same <paramref name="newName"/> already exists, or if no match was found for
  1623. the given type.
  1624. </exception>
  1625. </member>
  1626. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.First">
  1627. <summary>
  1628. Returns the first <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1629. </summary>
  1630. <returns>The first handler in the pipeline, or <c>null</c> if the pipeline is empty.</returns>
  1631. </member>
  1632. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FirstContext">
  1633. <summary>
  1634. Returns the context of the first <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1635. </summary>
  1636. <returns>
  1637. The context of the first handler in the pipeline, or <c>null</c> if the pipeline is empty.
  1638. </returns>
  1639. </member>
  1640. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Last">
  1641. <summary>
  1642. Returns the last <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1643. </summary>
  1644. <returns>The last handler in the pipeline, or <c>null</c> if the pipeline is empty.</returns>
  1645. </member>
  1646. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.LastContext">
  1647. <summary>
  1648. Returns the context of the last <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1649. </summary>
  1650. <returns>
  1651. The context of the last handler in the pipeline, or <c>null</c> if the pipeline is empty.
  1652. </returns>
  1653. </member>
  1654. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Get(System.String)">
  1655. <summary>
  1656. Returns the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> with the specified name in this pipeline.
  1657. </summary>
  1658. <param name="name">The name of the desired <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/>.</param>
  1659. <returns>
  1660. The handler with the specified name, or <c>null</c> if there's no such handler in this pipeline.
  1661. </returns>
  1662. </member>
  1663. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Get``1">
  1664. <summary>
  1665. Returns the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> of the specified type in this pipeline.
  1666. </summary>
  1667. <typeparam name="T">The type of handler to retrieve.</typeparam>
  1668. <returns>
  1669. The handler with the specified type, or <c>null</c> if there's no such handler in this pipeline.
  1670. </returns>
  1671. </member>
  1672. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Context(DotNetty.Transport.Channels.IChannelHandler)">
  1673. <summary>
  1674. Returns the context object of the specified <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in this pipeline.
  1675. </summary>
  1676. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> whose context should be retrieved.</param>
  1677. <returns>
  1678. The context object of the specified handler, or <c>null</c> if there's no such handler in this pipeline.
  1679. </returns>
  1680. </member>
  1681. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Context(System.String)">
  1682. <summary>
  1683. Returns the context object of the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> with the specified name in this pipeline.
  1684. </summary>
  1685. <param name="name">The name of the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> whose context should be retrieved.</param>
  1686. <returns>
  1687. The context object of the handler with the specified name, or <c>null</c> if there's no such handler in
  1688. this pipeline.
  1689. </returns>
  1690. </member>
  1691. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Context``1">
  1692. <summary>
  1693. Returns the context object of the <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> of the specified type in this pipeline.
  1694. </summary>
  1695. <typeparam name="T">The type of <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> whose context should be retrieved.</typeparam>
  1696. <returns>
  1697. The context object of the handler with the specified type, or <c>null</c> if there's no such handler in
  1698. this pipeline.
  1699. </returns>
  1700. </member>
  1701. <member name="P:DotNetty.Transport.Channels.IChannelPipeline.Channel">
  1702. <summary>
  1703. Returns the <see cref="T:DotNetty.Transport.Channels.IChannel" /> that this pipeline is attached to.
  1704. Returns <c>null</c> if this pipeline is not attached to any channel yet.
  1705. </summary>
  1706. </member>
  1707. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelRegistered">
  1708. <summary>
  1709. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> was registered to its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  1710. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRegistered(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method
  1711. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1712. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1713. </summary>
  1714. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1715. </member>
  1716. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelUnregistered">
  1717. <summary>
  1718. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> was unregistered from its <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  1719. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelUnregistered(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method
  1720. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1721. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1722. </summary>
  1723. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1724. </member>
  1725. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelActive">
  1726. <summary>
  1727. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> is active now, which means it is connected.
  1728. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelActive(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method
  1729. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1730. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1731. </summary>
  1732. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1733. </member>
  1734. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelInactive">
  1735. <summary>
  1736. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> is inactive now, which means it is closed.
  1737. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelInactive(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method
  1738. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1739. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1740. </summary>
  1741. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1742. </member>
  1743. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireExceptionCaught(System.Exception)">
  1744. <summary>
  1745. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> received an <see cref="T:System.Exception"/> in one of its inbound operations.
  1746. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ExceptionCaught(DotNetty.Transport.Channels.IChannelHandlerContext,System.Exception)"/> method
  1747. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1748. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1749. </summary>
  1750. <param name="cause">The <see cref="T:System.Exception"/> that was caught.</param>
  1751. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1752. </member>
  1753. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireUserEventTriggered(System.Object)">
  1754. <summary>
  1755. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> received an user defined event.
  1756. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.UserEventTriggered(DotNetty.Transport.Channels.IChannelHandlerContext,System.Object)"/> method
  1757. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1758. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1759. </summary>
  1760. <param name="evt">The user-defined event that was triggered.</param>
  1761. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1762. </member>
  1763. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelRead(System.Object)">
  1764. <summary>
  1765. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> received a message.
  1766. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRead(DotNetty.Transport.Channels.IChannelHandlerContext,System.Object)"/> method
  1767. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1768. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1769. </summary>
  1770. <param name="msg">The message that was received.</param>
  1771. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1772. </member>
  1773. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelReadComplete">
  1774. <summary>
  1775. An <see cref="T:DotNetty.Transport.Channels.IChannel"/> completed a message after reading it.
  1776. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelReadComplete(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method
  1777. called of the next <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1778. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1779. </summary>
  1780. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1781. </member>
  1782. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.FireChannelWritabilityChanged">
  1783. <summary>
  1784. Triggers an <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelWritabilityChanged(DotNetty.Transport.Channels.IChannelHandlerContext)"/> event to the next
  1785. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.
  1786. </summary>
  1787. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1788. </member>
  1789. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.BindAsync(System.Net.EndPoint)">
  1790. <summary>
  1791. Request to bind to the given <see cref="T:System.Net.EndPoint"/>.
  1792. <para>
  1793. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.BindAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint)"/> method called of the next
  1794. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1795. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1796. </para>
  1797. </summary>
  1798. </member>
  1799. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.ConnectAsync(System.Net.EndPoint)">
  1800. <summary>
  1801. Request to connect to the given <see cref="T:System.Net.EndPoint"/>.
  1802. <para>
  1803. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ConnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint,System.Net.EndPoint)"/> method called of the next
  1804. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1805. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1806. </para>
  1807. </summary>
  1808. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  1809. <returns>An await-able task.</returns>
  1810. </member>
  1811. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.ConnectAsync(System.Net.EndPoint,System.Net.EndPoint)">
  1812. <summary>
  1813. Request to connect to the given <see cref="T:System.Net.EndPoint"/>.
  1814. <para>
  1815. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ConnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext,System.Net.EndPoint,System.Net.EndPoint)"/> method called of the next
  1816. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1817. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1818. </para>
  1819. </summary>
  1820. <param name="remoteAddress">The remote <see cref="T:System.Net.EndPoint"/> to connect to.</param>
  1821. <param name="localAddress">The local <see cref="T:System.Net.EndPoint"/> to bind.</param>
  1822. <returns>An await-able task.</returns>
  1823. </member>
  1824. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.DisconnectAsync">
  1825. <summary>
  1826. Request to disconnect from the remote peer.
  1827. <para>
  1828. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.DisconnectAsync(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1829. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1830. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1831. </para>
  1832. </summary>
  1833. <returns>An await-able task.</returns>
  1834. </member>
  1835. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.CloseAsync">
  1836. <summary>
  1837. Request to close the <see cref="T:DotNetty.Transport.Channels.IChannel"/>. After it is closed it is not possible to reuse it again.
  1838. <para>
  1839. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.CloseAsync(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1840. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1841. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1842. </para>
  1843. </summary>
  1844. <returns>An await-able task.</returns>
  1845. </member>
  1846. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.DeregisterAsync">
  1847. <summary>
  1848. Request to deregister the <see cref="T:DotNetty.Transport.Channels.IChannel"/> bound this <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> from the
  1849. previous assigned <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/>.
  1850. <para>
  1851. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.DeregisterAsync(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1852. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1853. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1854. </para>
  1855. </summary>
  1856. <returns>An await-able task.</returns>
  1857. </member>
  1858. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Read">
  1859. <summary>
  1860. Request to Read data from the <see cref="T:DotNetty.Transport.Channels.IChannel"/> into the first inbound buffer, triggers an
  1861. <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelRead(DotNetty.Transport.Channels.IChannelHandlerContext,System.Object)"/> event if data was read, and triggers a
  1862. <see cref="M:DotNetty.Transport.Channels.IChannelHandler.ChannelReadComplete(DotNetty.Transport.Channels.IChannelHandlerContext)"/> event so the handler can decide whether to continue
  1863. reading. If there's a pending read operation already, this method does nothing.
  1864. <para>
  1865. This will result in having the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.Read(DotNetty.Transport.Channels.IChannelHandlerContext)"/> method called of the next
  1866. <see cref="T:DotNetty.Transport.Channels.IChannelHandler"/> contained in the <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/> of the
  1867. <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  1868. </para>
  1869. </summary>
  1870. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1871. </member>
  1872. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.WriteAsync(System.Object)">
  1873. <summary>
  1874. Request to write a message via this <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.
  1875. This method will not request to actual flush, so be sure to call <see cref="M:DotNetty.Transport.Channels.IChannelPipeline.Flush"/>
  1876. once you want to request to flush all pending data to the actual transport.
  1877. </summary>
  1878. <returns>An await-able task.</returns>
  1879. </member>
  1880. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.Flush">
  1881. <summary>
  1882. Request to flush all pending messages.
  1883. </summary>
  1884. <returns>This <see cref="T:DotNetty.Transport.Channels.IChannelPipeline"/>.</returns>
  1885. </member>
  1886. <member name="M:DotNetty.Transport.Channels.IChannelPipeline.WriteAndFlushAsync(System.Object)">
  1887. <summary>
  1888. Shortcut for calling both <see cref="M:DotNetty.Transport.Channels.IChannelPipeline.WriteAsync(System.Object)"/> and <see cref="M:DotNetty.Transport.Channels.IChannelPipeline.Flush"/>.
  1889. </summary>
  1890. </member>
  1891. <member name="T:DotNetty.Transport.Channels.IEventLoop">
  1892. <summary>
  1893. <see cref="T:DotNetty.Common.Concurrency.IEventExecutor"/> specialized to handle I/O operations of assigned <see cref="T:DotNetty.Transport.Channels.IChannel"/>s.
  1894. </summary>
  1895. </member>
  1896. <member name="P:DotNetty.Transport.Channels.IEventLoop.Parent">
  1897. <summary>
  1898. Parent <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/>.
  1899. </summary>
  1900. </member>
  1901. <member name="T:DotNetty.Transport.Channels.IEventLoopGroup">
  1902. <inheritdoc />
  1903. <summary>
  1904. <see cref="T:DotNetty.Common.Concurrency.IEventExecutorGroup" /> specialized for handling <see cref="T:DotNetty.Transport.Channels.IEventLoop" />s.
  1905. </summary>
  1906. </member>
  1907. <member name="M:DotNetty.Transport.Channels.IEventLoopGroup.GetNext">
  1908. <summary>
  1909. Returns <see cref="T:DotNetty.Transport.Channels.IEventLoop"/>.
  1910. </summary>
  1911. </member>
  1912. <member name="M:DotNetty.Transport.Channels.IEventLoopGroup.RegisterAsync(DotNetty.Transport.Channels.IChannel)">
  1913. <summary>
  1914. Register the <see cref="T:DotNetty.Transport.Channels.IChannel"/> for this event loop.
  1915. </summary>
  1916. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> to register.</param>
  1917. <returns>The register task.</returns>
  1918. </member>
  1919. <member name="T:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator">
  1920. <summary>
  1921. <see cref="T:DotNetty.Transport.Channels.IRecvByteBufAllocator" /> that limits the number of read operations that will be attempted when a read
  1922. operation
  1923. is attempted by the event loop.
  1924. </summary>
  1925. </member>
  1926. <member name="P:DotNetty.Transport.Channels.IMaxMessagesRecvByteBufAllocator.MaxMessagesPerRead">
  1927. <summary>
  1928. Gets or sets the maximum number of messages to read per read loop.
  1929. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages.
  1930. </summary>
  1931. </member>
  1932. <member name="M:DotNetty.Transport.Channels.IMessageSizeEstimator.NewHandle">
  1933. <summary>
  1934. Creates a new handle. The handle provides the actual operations.
  1935. </summary>
  1936. </member>
  1937. <member name="M:DotNetty.Transport.Channels.IMessageSizeEstimatorHandle.Size(System.Object)">
  1938. <summary>
  1939. Calculates the size of the given message.
  1940. </summary>
  1941. <param name="msg">The message for which the size should be calculated.</param>
  1942. <returns>The size in bytes. The returned size must be >= 0</returns>
  1943. </member>
  1944. <member name="T:DotNetty.Transport.Channels.IRecvByteBufAllocator">
  1945. <summary>
  1946. Allocates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough
  1947. not to waste its space.
  1948. </summary>
  1949. </member>
  1950. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocator.NewHandle">
  1951. <summary>
  1952. Creates a new handle. The handle provides the actual operations and keeps the internal information which is
  1953. required for predicting an optimal buffer capacity.
  1954. </summary>
  1955. </member>
  1956. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.Allocate(DotNetty.Buffers.IByteBufferAllocator)">
  1957. <summary>
  1958. Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small
  1959. enough not to waste its space.
  1960. </summary>
  1961. </member>
  1962. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.Guess">
  1963. <summary>
  1964. Similar to <see cref="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.Allocate(DotNetty.Buffers.IByteBufferAllocator)" /> except that it does not allocate anything but just tells the
  1965. capacity.
  1966. </summary>
  1967. </member>
  1968. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.Reset(DotNetty.Transport.Channels.IChannelConfiguration)">
  1969. <summary>
  1970. Reset any counters that have accumulated and recommend how many messages/bytes should be read for the next
  1971. read loop.
  1972. <p>
  1973. This may be used by <see cref="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.ContinueReading" /> to determine if the read operation should complete.
  1974. </p>
  1975. This is only ever a hint and may be ignored by the implementation.
  1976. </summary>
  1977. <param name="config">The channel configuration which may impact this object's behavior.</param>
  1978. </member>
  1979. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.IncMessagesRead(System.Int32)">
  1980. <summary>Increment the number of messages that have been read for the current read loop.</summary>
  1981. <param name="numMessages">The amount to increment by.</param>
  1982. </member>
  1983. <member name="P:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.LastBytesRead">
  1984. <summary>
  1985. Get or set the bytes that have been read for the last read operation.
  1986. This may be used to increment the number of bytes that have been read.
  1987. </summary>
  1988. <remarks>
  1989. Returned value may be negative if an read error
  1990. occurs. If a negative value is seen it is expected to be return on the next set to
  1991. <see cref="P:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.LastBytesRead" />. A negative value will signal a termination condition enforced externally
  1992. to this class and is not required to be enforced in <see cref="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.ContinueReading" />.
  1993. </remarks>
  1994. </member>
  1995. <member name="P:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.AttemptedBytesRead">
  1996. <summary>Get or set how many bytes the read operation will (or did) attempt to read.</summary>
  1997. </member>
  1998. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.ContinueReading">
  1999. <summary>Determine if the current read loop should should continue.</summary>
  2000. <returns><c>true</c> if the read loop should continue reading. <c>false</c> if the read loop is complete.</returns>
  2001. </member>
  2002. <member name="M:DotNetty.Transport.Channels.IRecvByteBufAllocatorHandle.ReadComplete">
  2003. <summary>Signals read completion.</summary>
  2004. </member>
  2005. <member name="T:DotNetty.Transport.Channels.IServerChannel">
  2006. <summary>
  2007. A <see cref="T:DotNetty.Transport.Channels.IChannel"/> that accepts an incoming connection attempt and creates its child
  2008. <see cref="T:DotNetty.Transport.Channels.IChannel"/>s by accepting them. <see cref="T:DotNetty.Transport.Channels.Sockets.IServerSocketChannel"/> is a good example.
  2009. </summary>
  2010. </member>
  2011. <member name="T:DotNetty.Transport.Channels.Local.LocalChannel">
  2012. <summary>
  2013. A <see cref="T:DotNetty.Transport.Channels.IChannel"/> for the local transport.
  2014. </summary>
  2015. </member>
  2016. <member name="T:DotNetty.Transport.Channels.Local.LocalServerChannel">
  2017. <summary>
  2018. A <see cref="T:DotNetty.Transport.Channels.IServerChannel"/> for the local transport which allows in VM communication.
  2019. </summary>
  2020. </member>
  2021. <member name="M:DotNetty.Transport.Channels.Local.LocalServerChannel.NewLocalChannel(DotNetty.Transport.Channels.Local.LocalChannel)">
  2022. <summary>
  2023. A factory method for <see cref="T:DotNetty.Transport.Channels.Local.LocalChannel"/>s. Users may override it to create custom instances of <see cref="T:DotNetty.Transport.Channels.Local.LocalChannel"/>s.
  2024. </summary>
  2025. <param name="peer">An existing <see cref="T:DotNetty.Transport.Channels.Local.LocalChannel"/> that will act as a peer for the new channel.</param>
  2026. <returns>The newly created <see cref="T:DotNetty.Transport.Channels.Local.LocalChannel"/> instance.</returns>
  2027. </member>
  2028. <member name="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup">
  2029. <summary>
  2030. <see cref="T:DotNetty.Transport.Channels.IEventLoopGroup"/> backed by a set of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/> instances.
  2031. </summary>
  2032. </member>
  2033. <member name="P:DotNetty.Transport.Channels.MultithreadEventLoopGroup.TerminationCompletion">
  2034. <inheritdoc />
  2035. </member>
  2036. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.#ctor">
  2037. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup"/>.</summary>
  2038. </member>
  2039. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.#ctor(System.Int32)">
  2040. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup"/>.</summary>
  2041. </member>
  2042. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.#ctor(System.Func{DotNetty.Transport.Channels.IEventLoopGroup,DotNetty.Transport.Channels.IEventLoop})">
  2043. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup"/>.</summary>
  2044. </member>
  2045. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.#ctor(System.Func{DotNetty.Transport.Channels.IEventLoopGroup,DotNetty.Transport.Channels.IEventLoop},System.Int32)">
  2046. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.MultithreadEventLoopGroup"/>.</summary>
  2047. </member>
  2048. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.DotNetty#Transport#Channels#IEventLoopGroup#GetNext">
  2049. <inheritdoc />
  2050. </member>
  2051. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.GetNext">
  2052. <inheritdoc />
  2053. </member>
  2054. <member name="M:DotNetty.Transport.Channels.MultithreadEventLoopGroup.ShutdownGracefullyAsync(System.TimeSpan,System.TimeSpan)">
  2055. <inheritdoc cref="M:DotNetty.Common.Concurrency.IEventExecutorGroup.ShutdownGracefullyAsync" />
  2056. </member>
  2057. <member name="T:DotNetty.Transport.Channels.PendingWriteQueue">
  2058. <summary>
  2059. A queue of write operations which are pending for later execution. It also updates the writability of the
  2060. associated <see cref="T:DotNetty.Transport.Channels.IChannel"/> (<see cref="P:DotNetty.Transport.Channels.IChannel.IsWritable"/>), so that the pending write operations are
  2061. also considered to determine the writability.
  2062. </summary>
  2063. </member>
  2064. <member name="P:DotNetty.Transport.Channels.PendingWriteQueue.IsEmpty">
  2065. <summary>
  2066. Returns <c>true</c> if there are no pending write operations left in this queue.
  2067. </summary>
  2068. </member>
  2069. <member name="P:DotNetty.Transport.Channels.PendingWriteQueue.Size">
  2070. <summary>
  2071. Returns the number of pending write operations.
  2072. </summary>
  2073. </member>
  2074. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.Add(System.Object)">
  2075. <summary>
  2076. Adds the given message to this <see cref="T:DotNetty.Transport.Channels.PendingWriteQueue"/>.
  2077. </summary>
  2078. <param name="msg">The message to add to the <see cref="T:DotNetty.Transport.Channels.PendingWriteQueue"/>.</param>
  2079. <returns>An await-able task.</returns>
  2080. </member>
  2081. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.RemoveAndFailAll(System.Exception)">
  2082. <summary>
  2083. Removes all pending write operations, and fail them with the given <see cref="T:System.Exception"/>. The messages
  2084. will be released via <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)"/>.
  2085. </summary>
  2086. <param name="cause">The <see cref="T:System.Exception"/> to fail with.</param>
  2087. </member>
  2088. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.RemoveAndFail(System.Exception)">
  2089. <summary>
  2090. Remove a pending write operation and fail it with the given <see cref="T:System.Exception"/>. The message will be
  2091. released via <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)"/>.
  2092. </summary>
  2093. <param name="cause">The <see cref="T:System.Exception"/> to fail with.</param>
  2094. </member>
  2095. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.RemoveAndWriteAllAsync">
  2096. <summary>
  2097. Removes all pending write operation and performs them via <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)"/>
  2098. </summary>
  2099. <returns>An await-able task.</returns>
  2100. </member>
  2101. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.RemoveAndWriteAsync">
  2102. <summary>
  2103. Removes a pending write operation and performs it via <see cref="M:DotNetty.Transport.Channels.IChannelHandlerContext.WriteAsync(System.Object)"/>.
  2104. </summary>
  2105. <returns>An await-able task.</returns>
  2106. </member>
  2107. <member name="M:DotNetty.Transport.Channels.PendingWriteQueue.Remove">
  2108. <summary>
  2109. Removes a pending write operation and releases it's message via
  2110. <see cref="M:DotNetty.Common.Utilities.ReferenceCountUtil.SafeRelease(System.Object)"/>.
  2111. </summary>
  2112. <returns>
  2113. The <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource" /> of the pending write, or <c>null</c> if the queue is empty.
  2114. </returns>
  2115. </member>
  2116. <member name="P:DotNetty.Transport.Channels.PendingWriteQueue.Current">
  2117. <summary>
  2118. Return the current message, or <c>null</c> if the queue is empty.
  2119. </summary>
  2120. </member>
  2121. <member name="T:DotNetty.Transport.Channels.PendingWriteQueue.PendingWrite">
  2122. <summary>
  2123. Holds all meta-data and constructs the linked-list structure.
  2124. </summary>
  2125. </member>
  2126. <member name="M:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2.Remove(`0)">
  2127. <summary>
  2128. Removes the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> from this <see cref="T:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2"/>.
  2129. </summary>
  2130. <param name="key">The key to remove. Must not be null.</param>
  2131. <returns><c>true</c> if removed, otherwise <c>false</c>.</returns>
  2132. </member>
  2133. <member name="P:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2.Count">
  2134. <summary>
  2135. Returns the number of <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>s currently in this <see cref="T:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2"/>.
  2136. </summary>
  2137. </member>
  2138. <member name="P:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2.IsEmpty">
  2139. <summary>
  2140. Returns <c>true</c> if the <see cref="T:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2"/> is empty, otherwise <c>false</c>.
  2141. </summary>
  2142. </member>
  2143. <member name="M:DotNetty.Transport.Channels.Pool.AbstractChannelPoolMap`2.NewPool(`0)">
  2144. <summary>
  2145. Called once a new <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> needs to be created as none exists yet for the <paramref name="key"/>.
  2146. </summary>
  2147. <param name="key">The <typeparamref name="TKey"/> to create a new <typeparamref name="TPool"/> for.</param>
  2148. <returns>The new <typeparamref name="TPool"/> corresponding to the given <typeparamref name="TKey"/>.</returns>
  2149. </member>
  2150. <member name="T:DotNetty.Transport.Channels.Pool.ChannelActiveHealthChecker">
  2151. <summary>
  2152. <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> implementation that checks if <see cref="P:DotNetty.Transport.Channels.IChannel.Active"/> returns <c>true</c>.
  2153. </summary>
  2154. </member>
  2155. <member name="T:DotNetty.Transport.Channels.Pool.FixedChannelPool">
  2156. <summary>
  2157. An <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> implementation that takes another <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> implementation and
  2158. enforces a maximum number of concurrent connections.
  2159. </summary>
  2160. </member>
  2161. <member name="F:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction.New">
  2162. <summary>
  2163. Creates a new connection when the timeout is detected.
  2164. </summary>
  2165. </member>
  2166. <member name="F:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction.Fail">
  2167. <summary>
  2168. Fails the <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> of the acquire call with a <see cref="T:System.TimeoutException"/>.
  2169. </summary>
  2170. </member>
  2171. <member name="M:DotNetty.Transport.Channels.Pool.FixedChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,System.Int32,System.Int32)">
  2172. <summary>
  2173. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool"/> instance using the <see cref="T:DotNetty.Transport.Channels.Pool.ChannelActiveHealthChecker"/>.
  2174. </summary>
  2175. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2176. <param name="handler">
  2177. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2178. </param>
  2179. <param name="maxConnections">
  2180. The number of maximal active connections. Once this is reached, new attempts to acquire an
  2181. <see cref="T:DotNetty.Transport.Channels.IChannel"/> will be delayed until a connection is returned to the pool again.
  2182. </param>
  2183. <param name="maxPendingAcquires">
  2184. The maximum number of pending acquires. Once this is exceeded, acquire attempts will be failed.
  2185. </param>
  2186. </member>
  2187. <member name="M:DotNetty.Transport.Channels.Pool.FixedChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker,DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction,System.TimeSpan,System.Int32,System.Int32)">
  2188. <summary>
  2189. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool"/> instance.
  2190. </summary>
  2191. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2192. <param name="handler">
  2193. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2194. </param>
  2195. <param name="healthChecker">
  2196. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2197. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2198. </param>
  2199. <param name="action">
  2200. The <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> to use or <c>null</c> if none should be used. In this case,
  2201. <paramref name="acquireTimeout"/> must also be <c>null</c>.
  2202. </param>
  2203. <param name="acquireTimeout">
  2204. A <see cref="T:System.TimeSpan"/> after which an pending acquire must complete, or the
  2205. <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> takes place.
  2206. </param>
  2207. <param name="maxConnections">
  2208. The number of maximal active connections. Once this is reached, new attempts to acquire an
  2209. <see cref="T:DotNetty.Transport.Channels.IChannel"/> will be delayed until a connection is returned to the pool again.
  2210. </param>
  2211. <param name="maxPendingAcquires">
  2212. The maximum number of pending acquires. Once this is exceeded, acquire attempts will be failed.
  2213. </param>
  2214. </member>
  2215. <member name="M:DotNetty.Transport.Channels.Pool.FixedChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker,DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction,System.TimeSpan,System.Int32,System.Int32,System.Boolean)">
  2216. <summary>
  2217. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool"/> instance.
  2218. </summary>
  2219. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2220. <param name="handler">
  2221. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2222. </param>
  2223. <param name="healthChecker">
  2224. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2225. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2226. </param>
  2227. <param name="action">
  2228. The <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> to use or <c>null</c> if none should be used. In this case,
  2229. <paramref name="acquireTimeout"/> must also be <c>null</c>.
  2230. </param>
  2231. <param name="acquireTimeout">
  2232. A <see cref="T:System.TimeSpan"/> after which an pending acquire must complete, or the
  2233. <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> takes place.
  2234. </param>
  2235. <param name="maxConnections">
  2236. The number of maximal active connections. Once this is reached, new attempts to acquire an
  2237. <see cref="T:DotNetty.Transport.Channels.IChannel"/> will be delayed until a connection is returned to the pool again.
  2238. </param>
  2239. <param name="maxPendingAcquires">
  2240. The maximum number of pending acquires. Once this is exceeded, acquire attempts will be failed.
  2241. </param>
  2242. <param name="releaseHealthCheck">If <c>true</c>, will check channel health before offering it back.</param>
  2243. </member>
  2244. <member name="M:DotNetty.Transport.Channels.Pool.FixedChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker,DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction,System.TimeSpan,System.Int32,System.Int32,System.Boolean,System.Boolean)">
  2245. <summary>
  2246. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool"/> instance.
  2247. </summary>
  2248. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2249. <param name="handler">
  2250. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2251. </param>
  2252. <param name="healthChecker">
  2253. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2254. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2255. </param>
  2256. <param name="action">
  2257. The <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> to use or <c>null</c> if none should be used. In this case,
  2258. <paramref name="acquireTimeout"/> must also be <c>null</c>.
  2259. </param>
  2260. <param name="acquireTimeout">
  2261. A <see cref="T:System.TimeSpan"/> after which an pending acquire must complete, or the
  2262. <see cref="T:DotNetty.Transport.Channels.Pool.FixedChannelPool.AcquireTimeoutAction"/> takes place.
  2263. </param>
  2264. <param name="maxConnections">
  2265. The number of maximal active connections. Once this is reached, new attempts to acquire an
  2266. <see cref="T:DotNetty.Transport.Channels.IChannel"/> will be delayed until a connection is returned to the pool again.
  2267. </param>
  2268. <param name="maxPendingAcquires">
  2269. The maximum number of pending acquires. Once this is exceeded, acquire attempts will be failed.
  2270. </param>
  2271. <param name="releaseHealthCheck">If <c>true</c>, will check channel health before offering it back.</param>
  2272. <param name="lastRecentUsed">
  2273. If <c>true</c>, <see cref="T:DotNetty.Transport.Channels.IChannel"/> selection will be LIFO. If <c>false</c>, it will be FIFO.
  2274. </param>
  2275. </member>
  2276. <member name="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker">
  2277. <summary>
  2278. Called before an <see cref="T:DotNetty.Transport.Channels.IChannel"/> will be returned via <see cref="M:DotNetty.Transport.Channels.Pool.IChannelPool.AcquireAsync"/>.
  2279. </summary>
  2280. </member>
  2281. <member name="M:DotNetty.Transport.Channels.Pool.IChannelHealthChecker.IsHealthyAsync(DotNetty.Transport.Channels.IChannel)">
  2282. <summary>
  2283. Checks if the given channel is healthy (which means it can be used). This method will be called by the
  2284. <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> of the given <see cref="T:DotNetty.Transport.Channels.IChannel"/>
  2285. </summary>
  2286. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> to check for healthiness.</param>
  2287. <returns><c>true</c> if the given <see cref="T:DotNetty.Transport.Channels.IChannel"/> is healthy, otherwise <c>false</c>.</returns>
  2288. </member>
  2289. <member name="T:DotNetty.Transport.Channels.Pool.IChannelPool">
  2290. <summary>
  2291. Allows the acquisition and release of <see cref="T:DotNetty.Transport.Channels.IChannel"/> instances, and so act as a pool of these.
  2292. </summary>
  2293. </member>
  2294. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPool.AcquireAsync">
  2295. <summary>
  2296. Acquires an <see cref="T:DotNetty.Transport.Channels.IChannel"/> from this <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2297. <para>
  2298. It is important that an acquired <see cref="T:DotNetty.Transport.Channels.IChannel"/> is always released to the pool again via the
  2299. <see cref="M:DotNetty.Transport.Channels.Pool.IChannelPool.ReleaseAsync(DotNetty.Transport.Channels.IChannel)"/> method, even if the <see cref="T:DotNetty.Transport.Channels.IChannel"/> is explicitly closed.
  2300. </para>
  2301. </summary>
  2302. <returns>The aquired <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  2303. </member>
  2304. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPool.ReleaseAsync(DotNetty.Transport.Channels.IChannel)">
  2305. <summary>
  2306. Releases a previously aquired <see cref="T:DotNetty.Transport.Channels.IChannel"/> from this <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>, allowing it to
  2307. be aquired again by another caller.
  2308. </summary>
  2309. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> instance to be released.</param>
  2310. <returns>
  2311. <c>true</c> if the <see cref="T:DotNetty.Transport.Channels.IChannel"/> was successfully released, otherwise <c>false</c>.
  2312. </returns>
  2313. </member>
  2314. <member name="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler">
  2315. <summary>
  2316. Handler which is called for various actions done by the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2317. </summary>
  2318. </member>
  2319. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPoolHandler.ChannelReleased(DotNetty.Transport.Channels.IChannel)">
  2320. <summary>
  2321. Called once a <see cref="T:DotNetty.Transport.Channels.IChannel"/> was released by calling <see cref="M:DotNetty.Transport.Channels.Pool.IChannelPool.ReleaseAsync(DotNetty.Transport.Channels.IChannel)"/>.
  2322. This method will be called by the <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> of the <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  2323. </summary>
  2324. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> instance which was released.</param>
  2325. </member>
  2326. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPoolHandler.ChannelAcquired(DotNetty.Transport.Channels.IChannel)">
  2327. <summary>
  2328. Called once a <see cref="T:DotNetty.Transport.Channels.IChannel"/> was acquired by calling <see cref="M:DotNetty.Transport.Channels.Pool.IChannelPool.AcquireAsync"/>.
  2329. </summary>
  2330. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> instance which was aquired.</param>
  2331. </member>
  2332. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPoolHandler.ChannelCreated(DotNetty.Transport.Channels.IChannel)">
  2333. <summary>
  2334. Called once a new <see cref="T:DotNetty.Transport.Channels.IChannel"/> is created in the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2335. </summary>
  2336. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> instance which was aquired.</param>
  2337. </member>
  2338. <member name="T:DotNetty.Transport.Channels.Pool.IChannelPoolMap`2">
  2339. <summary>
  2340. Allows the mapping of <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> implementations to a specific key.
  2341. </summary>
  2342. <typeparam name="TKey">The type of the key.</typeparam>
  2343. <typeparam name="TPool">The type of the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.</typeparam>
  2344. </member>
  2345. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPoolMap`2.Get(`0)">
  2346. <summary>
  2347. Returns the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> for the <paramref name="key"/>. This will never return <c>null</c>,
  2348. but create a new <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> if non exists for they requested <paramref name="key"/>.
  2349. Please note that <c>null</c> keys are not allowed.
  2350. </summary>
  2351. <param name="key">The key for the desired <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/></param>
  2352. <returns>The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> for the specified <paramref name="key"/>.</returns>
  2353. </member>
  2354. <member name="M:DotNetty.Transport.Channels.Pool.IChannelPoolMap`2.Contains(`0)">
  2355. <summary>
  2356. Checks whether the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolMap`2"/> contains an <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> for the
  2357. given <paramref name="key"/>. Please note that <c>null</c> keys are not allowed.
  2358. </summary>
  2359. <param name="key">The key to search the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolMap`2"/> for.</param>
  2360. <returns><c>true</c> if a <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> exists for the given <paramref name="key"/>, otherwise <c>false</c>.</returns>
  2361. </member>
  2362. <member name="T:DotNetty.Transport.Channels.Pool.SimpleChannelPool">
  2363. <summary>
  2364. Simple <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/> implementation which will create new <see cref="T:DotNetty.Transport.Channels.IChannel"/>s if someone tries to acquire
  2365. a <see cref="T:DotNetty.Transport.Channels.IChannel"/> but none is in the pool atm. No limit on the maximal concurrent <see cref="T:DotNetty.Transport.Channels.IChannel"/>s is enforced.
  2366. This implementation uses LIFO order for <see cref="T:DotNetty.Transport.Channels.IChannel"/>s in the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2367. </summary>
  2368. </member>
  2369. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler)">
  2370. <summary>
  2371. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.SimpleChannelPool"/> instance using the <see cref="T:DotNetty.Transport.Channels.Pool.ChannelActiveHealthChecker"/>.
  2372. </summary>
  2373. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2374. <param name="handler">The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.</param>
  2375. </member>
  2376. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker)">
  2377. <summary>
  2378. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.SimpleChannelPool"/> instance.
  2379. </summary>
  2380. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2381. <param name="handler">
  2382. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2383. </param>
  2384. <param name="healthChecker">
  2385. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2386. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2387. </param>
  2388. </member>
  2389. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker,System.Boolean)">
  2390. <summary>
  2391. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.SimpleChannelPool"/> instance.
  2392. </summary>
  2393. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2394. <param name="handler">
  2395. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2396. </param>
  2397. <param name="healthChecker">
  2398. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2399. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2400. </param>
  2401. <param name="releaseHealthCheck">
  2402. If <c>true</c>, will check channel health before offering back. Otherwise, channel health is only checked
  2403. at acquisition time.
  2404. </param>
  2405. </member>
  2406. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.#ctor(DotNetty.Transport.Bootstrapping.Bootstrap,DotNetty.Transport.Channels.Pool.IChannelPoolHandler,DotNetty.Transport.Channels.Pool.IChannelHealthChecker,System.Boolean,System.Boolean)">
  2407. <summary>
  2408. Creates a new <see cref="T:DotNetty.Transport.Channels.Pool.SimpleChannelPool"/> instance.
  2409. </summary>
  2410. <param name="bootstrap">The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> that is used for connections.</param>
  2411. <param name="handler">
  2412. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2413. </param>
  2414. <param name="healthChecker">
  2415. The <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if a <see cref="T:DotNetty.Transport.Channels.IChannel"/> is still
  2416. healthy when obtained from the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPool"/>.
  2417. </param>
  2418. <param name="releaseHealthCheck">
  2419. If <c>true</c>, will check channel health before offering back. Otherwise, channel health is only checked
  2420. at acquisition time.
  2421. </param>
  2422. <param name="lastRecentUsed">
  2423. If <c>true</c>, <see cref="T:DotNetty.Transport.Channels.IChannel"/> selection will be LIFO. If <c>false</c>, it will be FIFO.
  2424. </param>
  2425. </member>
  2426. <member name="P:DotNetty.Transport.Channels.Pool.SimpleChannelPool.Bootstrap">
  2427. <summary>
  2428. Returns the <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> this pool will use to open new connections.
  2429. </summary>
  2430. </member>
  2431. <member name="P:DotNetty.Transport.Channels.Pool.SimpleChannelPool.Handler">
  2432. <summary>
  2433. Returns the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelPoolHandler"/> that will be notified for the different pool actions.
  2434. </summary>
  2435. </member>
  2436. <member name="P:DotNetty.Transport.Channels.Pool.SimpleChannelPool.HealthChecker">
  2437. <summary>
  2438. Returns the <see cref="T:DotNetty.Transport.Channels.Pool.IChannelHealthChecker"/> that will be used to check if an <see cref="T:DotNetty.Transport.Channels.IChannel"/> is healthy.
  2439. </summary>
  2440. </member>
  2441. <member name="P:DotNetty.Transport.Channels.Pool.SimpleChannelPool.ReleaseHealthCheck">
  2442. <summary>
  2443. Indicates whether this pool will check the health of channels before offering them back into the pool.
  2444. Returns <c>true</c> if this pool will check the health of channels before offering them back into the pool, or
  2445. <c>false</c> if channel health is only checked at acquisition time.
  2446. </summary>
  2447. </member>
  2448. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.ConnectChannel(DotNetty.Transport.Bootstrapping.Bootstrap)">
  2449. <summary>
  2450. Bootstrap a new <see cref="T:DotNetty.Transport.Channels.IChannel"/>. The default implementation uses
  2451. <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.ConnectAsync"/>, sub-classes may override this.
  2452. </summary>
  2453. <param name="bs">
  2454. The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> instance to use to bootstrap a new <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  2455. The <see cref="T:DotNetty.Transport.Bootstrapping.Bootstrap"/> passed here is cloned via
  2456. <see cref="M:DotNetty.Transport.Bootstrapping.Bootstrap.Clone"/>, so it is safe to modify.
  2457. </param>
  2458. <returns>The newly connected <see cref="T:DotNetty.Transport.Channels.IChannel"/>.</returns>
  2459. </member>
  2460. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.DoHealthCheckOnRelease(DotNetty.Transport.Channels.IChannel)">
  2461. <summary>
  2462. Releases the channel back to the pool only if the channel is healthy.
  2463. </summary>
  2464. <param name="channel">The <see cref="T:DotNetty.Transport.Channels.IChannel"/> to put back to the pool.</param>
  2465. <returns>
  2466. <c>true</c> if the <see cref="T:DotNetty.Transport.Channels.IChannel"/> was healthy, released, and offered back to the pool.
  2467. <c>false</c> if the <see cref="T:DotNetty.Transport.Channels.IChannel"/> was NOT healthy and was simply released.
  2468. </returns>
  2469. </member>
  2470. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryPollChannel(DotNetty.Transport.Channels.IChannel@)">
  2471. <summary>
  2472. Polls an <see cref="T:DotNetty.Transport.Channels.IChannel"/> out of the internal storage to reuse it.
  2473. </summary>
  2474. <remarks>
  2475. Sub-classes may override <see cref="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryPollChannel(DotNetty.Transport.Channels.IChannel@)"/> and <see cref="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryOfferChannel(DotNetty.Transport.Channels.IChannel)"/>.
  2476. Be aware that implementations of these methods needs to be thread-safe!
  2477. </remarks>
  2478. <param name="channel">
  2479. An output parameter that will contain the <see cref="T:DotNetty.Transport.Channels.IChannel"/> obtained from the pool.
  2480. </param>
  2481. <returns>
  2482. <c>true</c> if an <see cref="T:DotNetty.Transport.Channels.IChannel"/> was retrieved from the pool, otherwise <c>false</c>.
  2483. </returns>
  2484. </member>
  2485. <member name="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryOfferChannel(DotNetty.Transport.Channels.IChannel)">
  2486. <summary>
  2487. Offers a <see cref="T:DotNetty.Transport.Channels.IChannel"/> back to the internal storage. This will return
  2488. </summary>
  2489. <remarks>
  2490. Sub-classes may override <see cref="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryPollChannel(DotNetty.Transport.Channels.IChannel@)"/> and <see cref="M:DotNetty.Transport.Channels.Pool.SimpleChannelPool.TryOfferChannel(DotNetty.Transport.Channels.IChannel)"/>.
  2491. Be aware that implementations of these methods needs to be thread-safe!
  2492. </remarks>
  2493. <param name="channel"></param>
  2494. <returns><c>true</c> if the <see cref="T:DotNetty.Transport.Channels.IChannel"/> could be added, otherwise <c>false</c>.</returns>
  2495. </member>
  2496. <member name="T:DotNetty.Transport.Channels.SingleThreadEventLoop">
  2497. <summary>
  2498. <see cref="T:DotNetty.Transport.Channels.IEventLoop"/> implementation based on <see cref="T:DotNetty.Common.Concurrency.SingleThreadEventExecutor"/>.
  2499. </summary>
  2500. </member>
  2501. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor">
  2502. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2503. </member>
  2504. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(System.String)">
  2505. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2506. </member>
  2507. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(System.String,System.TimeSpan)">
  2508. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2509. </member>
  2510. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(DotNetty.Transport.Channels.IEventLoopGroup)">
  2511. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2512. </member>
  2513. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(DotNetty.Transport.Channels.IEventLoopGroup,System.String)">
  2514. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2515. </member>
  2516. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(DotNetty.Transport.Channels.IEventLoopGroup,System.String,System.TimeSpan)">
  2517. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2518. </member>
  2519. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(System.String,System.TimeSpan,DotNetty.Common.Internal.IQueue{DotNetty.Common.Concurrency.IRunnable})">
  2520. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2521. </member>
  2522. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.#ctor(DotNetty.Transport.Channels.IEventLoopGroup,System.String,System.TimeSpan,DotNetty.Common.Internal.IQueue{DotNetty.Common.Concurrency.IRunnable})">
  2523. <summary>Creates a new instance of <see cref="T:DotNetty.Transport.Channels.SingleThreadEventLoop"/>.</summary>
  2524. </member>
  2525. <member name="M:DotNetty.Transport.Channels.SingleThreadEventLoop.RegisterAsync(DotNetty.Transport.Channels.IChannel)">
  2526. <inheritdoc />
  2527. </member>
  2528. <member name="P:DotNetty.Transport.Channels.SingleThreadEventLoop.Parent">
  2529. <inheritdoc />
  2530. </member>
  2531. <member name="T:DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel">
  2532. <summary>
  2533. <see cref="T:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel"/> base class for <see cref="T:DotNetty.Transport.Channels.IChannel"/>s that operate on bytes.
  2534. </summary>
  2535. </member>
  2536. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel.#ctor(DotNetty.Transport.Channels.IChannel,System.Net.Sockets.Socket)">
  2537. <summary>Create a new instance</summary>
  2538. <param name="parent">the parent <see cref="T:DotNetty.Transport.Channels.IChannel"/> by which this instance was created. May be <c>null</c></param>
  2539. <param name="socket">the underlying <see cref="T:System.Net.Sockets.Socket"/> on which it operates</param>
  2540. </member>
  2541. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel.DoReadBytes(DotNetty.Buffers.IByteBuffer)">
  2542. <summary>
  2543. Reads bytes into the given <see cref="T:DotNetty.Buffers.IByteBuffer"/> and returns the number of bytes that were read.
  2544. </summary>
  2545. <param name="buf">The <see cref="T:DotNetty.Buffers.IByteBuffer"/> to read bytes into.</param>
  2546. <returns>The number of bytes that were read into the buffer.</returns>
  2547. </member>
  2548. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel.DoWriteBytes(DotNetty.Buffers.IByteBuffer)">
  2549. <summary>
  2550. Writes bytes from the given <see cref="T:DotNetty.Buffers.IByteBuffer"/> to the underlying <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  2551. </summary>
  2552. <param name="buf">The <see cref="T:DotNetty.Buffers.IByteBuffer"/> from which the bytes should be written.</param>
  2553. <returns>The number of bytes that were written from the buffer.</returns>
  2554. </member>
  2555. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.ClearReadPending">
  2556. <summary>
  2557. Set read pending to <c>false</c>.
  2558. </summary>
  2559. </member>
  2560. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.ResetState(DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.StateFlags)">
  2561. <returns>state before modification</returns>
  2562. </member>
  2563. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.OnIoCompleted(System.Object,System.Net.Sockets.SocketAsyncEventArgs)">
  2564. <remarks>PORT NOTE: matches behavior of NioEventLoop.processSelectedKey</remarks>
  2565. </member>
  2566. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.ISocketChannelUnsafe.FinishConnect(DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation)">
  2567. <summary>
  2568. Finish connect
  2569. </summary>
  2570. </member>
  2571. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.ISocketChannelUnsafe.FinishRead(DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation)">
  2572. <summary>
  2573. Read from underlying {@link SelectableChannel}
  2574. </summary>
  2575. </member>
  2576. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.DoConnect(System.Net.EndPoint,System.Net.EndPoint)">
  2577. <summary>
  2578. Connect to the remote peer
  2579. </summary>
  2580. </member>
  2581. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel.DoFinishConnect(DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation)">
  2582. <summary>
  2583. Finish the connect
  2584. </summary>
  2585. </member>
  2586. <member name="T:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel">
  2587. <summary>
  2588. <see cref="T:DotNetty.Transport.Channels.Sockets.AbstractSocketChannel"/> base class for <see cref="T:DotNetty.Transport.Channels.IChannel"/>s that operate on messages.
  2589. </summary>
  2590. </member>
  2591. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel.#ctor(DotNetty.Transport.Channels.IChannel,System.Net.Sockets.Socket)">
  2592. <summary>
  2593. Creates a new <see cref="T:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel"/> instance.
  2594. </summary>
  2595. <param name="parent">The parent <see cref="T:DotNetty.Transport.Channels.IChannel"/>. Pass <c>null</c> if there's no parent.</param>
  2596. <param name="socket">The <see cref="T:System.Net.Sockets.Socket"/> used by the <see cref="T:DotNetty.Transport.Channels.IChannel"/> for communication.</param>
  2597. </member>
  2598. <member name="P:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel.ContinueOnWriteError">
  2599. <summary>
  2600. Returns <c>true</c> if we should continue the write loop on a write error.
  2601. </summary>
  2602. </member>
  2603. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel.DoReadMessages(System.Collections.Generic.List{System.Object})">
  2604. <summary>
  2605. Reads messages into the given list and returns the amount which was read.
  2606. </summary>
  2607. <param name="buf">The list into which message objects should be inserted.</param>
  2608. <returns>The number of messages which were read.</returns>
  2609. </member>
  2610. <member name="M:DotNetty.Transport.Channels.Sockets.AbstractSocketMessageChannel.DoWriteMessage(System.Object,DotNetty.Transport.Channels.ChannelOutboundBuffer)">
  2611. <summary>
  2612. Writes a message to the underlying <see cref="T:DotNetty.Transport.Channels.IChannel"/>.
  2613. </summary>
  2614. <param name="msg">The message to be written.</param>
  2615. <param name="input">The destination channel buffer for the message.</param>
  2616. <returns><c>true</c> if the message was successfully written, otherwise <c>false</c>.</returns>
  2617. </member>
  2618. <member name="T:DotNetty.Transport.Channels.Sockets.ChannelInputShutdownEvent">
  2619. <summary>
  2620. Special event which will be fired and passed to the <see cref="M:DotNetty.Transport.Channels.IChannelHandler.UserEventTriggered(DotNetty.Transport.Channels.IChannelHandlerContext,System.Object)"/>
  2621. methods once the input of an <see cref="T:DotNetty.Transport.Channels.Sockets.ISocketChannel"/> was shutdown and the
  2622. <see cref="P:DotNetty.Transport.Channels.Sockets.ISocketChannelConfiguration.AllowHalfClosure"/> property returns <c>true</c>.
  2623. </summary>
  2624. </member>
  2625. <member name="F:DotNetty.Transport.Channels.Sockets.ChannelInputShutdownEvent.Instance">
  2626. <summary>
  2627. Singleton instance to use.
  2628. </summary>
  2629. </member>
  2630. <member name="T:DotNetty.Transport.Channels.Sockets.DefaultServerSocketChannelConfig">
  2631. <summary>
  2632. The default <see cref="T:DotNetty.Transport.Channels.Sockets.IServerSocketChannelConfiguration"/> implementation.
  2633. </summary>
  2634. </member>
  2635. <member name="M:DotNetty.Transport.Channels.Sockets.DefaultServerSocketChannelConfig.#ctor(DotNetty.Transport.Channels.Sockets.IServerSocketChannel,System.Net.Sockets.Socket)">
  2636. <summary>
  2637. Creates a new instance.
  2638. </summary>
  2639. </member>
  2640. <member name="T:DotNetty.Transport.Channels.Sockets.DefaultSocketChannelConfiguration">
  2641. <summary>
  2642. The default <see cref="T:DotNetty.Transport.Channels.Sockets.ISocketChannelConfiguration"/> implementation.
  2643. </summary>
  2644. </member>
  2645. <member name="T:DotNetty.Transport.Channels.Sockets.IServerSocketChannel">
  2646. <summary>
  2647. A TCP/IP <see cref="T:DotNetty.Transport.Channels.IServerChannel"/> which accepts incoming TCP/IP connections.
  2648. </summary>
  2649. </member>
  2650. <member name="T:DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel">
  2651. <summary>
  2652. A <see cref="T:DotNetty.Transport.Channels.Sockets.IServerSocketChannel" /> implementation which uses Socket-based implementation to accept new
  2653. connections.
  2654. </summary>
  2655. </member>
  2656. <member name="M:DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.#ctor">
  2657. <summary>
  2658. Create a new instance
  2659. </summary>
  2660. </member>
  2661. <member name="M:DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.#ctor(System.Net.Sockets.AddressFamily)">
  2662. <summary>
  2663. Create a new instance
  2664. </summary>
  2665. </member>
  2666. <member name="M:DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.#ctor(System.Net.Sockets.Socket)">
  2667. <summary>
  2668. Create a new instance using the given <see cref="T:System.Net.Sockets.Socket"/>.
  2669. </summary>
  2670. </member>
  2671. <member name="T:DotNetty.Transport.Channels.Sockets.TcpSocketChannel">
  2672. <summary>
  2673. <see cref="T:DotNetty.Transport.Channels.Sockets.ISocketChannel" /> which uses Socket-based implementation.
  2674. </summary>
  2675. </member>
  2676. <member name="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.#ctor">
  2677. <summary>Create a new instance</summary>
  2678. </member>
  2679. <member name="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.#ctor(System.Net.Sockets.AddressFamily)">
  2680. <summary>Create a new instance</summary>
  2681. </member>
  2682. <member name="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.#ctor(System.Net.Sockets.Socket)">
  2683. <summary>Create a new instance using the given <see cref="T:DotNetty.Transport.Channels.Sockets.ISocketChannel" />.</summary>
  2684. </member>
  2685. <member name="M:DotNetty.Transport.Channels.Sockets.TcpSocketChannel.#ctor(DotNetty.Transport.Channels.IChannel,System.Net.Sockets.Socket)">
  2686. <summary>Create a new instance</summary>
  2687. <param name="parent">
  2688. the <see cref="T:DotNetty.Transport.Channels.IChannel" /> which created this instance or <c>null</c> if it was created by the
  2689. user
  2690. </param>
  2691. <param name="socket">the <see cref="T:DotNetty.Transport.Channels.Sockets.ISocketChannel" /> which will be used</param>
  2692. </member>
  2693. <member name="M:DotNetty.Transport.Channels.Util.SafeSetSuccess(DotNetty.Common.Concurrency.TaskCompletionSource,DotNetty.Common.Internal.Logging.IInternalLogger)">
  2694. <summary>
  2695. Marks the specified <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> as success. If the
  2696. <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> is done already, logs a message.
  2697. </summary>
  2698. <param name="promise">The <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> to complete.</param>
  2699. <param name="logger">The <see cref="T:DotNetty.Common.Internal.Logging.IInternalLogger"/> to use to log a failure message.</param>
  2700. </member>
  2701. <member name="M:DotNetty.Transport.Channels.Util.SafeSetFailure(DotNetty.Common.Concurrency.TaskCompletionSource,System.Exception,DotNetty.Common.Internal.Logging.IInternalLogger)">
  2702. <summary>
  2703. Marks the specified <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> as failure. If the
  2704. <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> is done already, log a message.
  2705. </summary>
  2706. <param name="promise">The <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> to complete.</param>
  2707. <param name="cause">The <see cref="T:System.Exception"/> to fail the <see cref="T:DotNetty.Common.Concurrency.TaskCompletionSource"/> with.</param>
  2708. <param name="logger">The <see cref="T:DotNetty.Common.Internal.Logging.IInternalLogger"/> to use to log a failure message.</param>
  2709. </member>
  2710. </members>
  2711. </doc>