Hi:<br><br>Would you mind sending me your code? so that I can get to know what the problem really is.<br><br>thanks<br><br>yanky<br><br><br><div class="gmail_quote">2009/4/16 manishr22 <span dir="ltr">&lt;<a href="mailto:manishr22@gmail.com">manishr22@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
Please suggest something about my problem.<br>
<br>
Regards<br>
Manish<br>
<div><div></div><div class="h5"><br>
Hi yanky,<br>
<br>
The problem remains the same. I see my ChannelBuffer capacity is always 1024 though i am writing bigger data from client.So that again I see the same problem as before.<br>
<br>
Could you please help me in understanding the flow of decode() method? Though i read it but if you explain that may correct my understanding.<br>
<br>
As i understood, whenever buffer.resetReaderIndex(); encountered, decode() method get called again, this means my message-length and header-length variable will again re-initialize with the first 4-4 bytes respectively of the current buffer readIndex position. which should never happen. once i red the header and message-length my application should first read that message and then only go for next message reading operation.<br>

<br>
say my client is sending data like<br>
<br>
[MESSAGE 1][4 byte message length][4 bytes header length][header][body] [MESSAGE 2][4 byte message length][4 bytes header length][header][body] [MESSAGE 3] [4 byte message length][4 bytes header length][header][body].......<br>

<br>
Since multiple clients will se sending data in same fashion so my Netty server should understand them all.<br>
<br>
Note: Right now my test client is not written using netty api and simply writing message on socket, will that make any difference?<br>
<br>
I am really sorry to bug more, since i am learning Netty, so i have so many questions.<br>
<br>
Regards<br>
Manish<br>
<br>
<br>
<br>
<br>
Hi:<br>
<br>
Maybe you can have a look at ChannelBuffer interface document. I am not sure<br>
I have got it right. But I am trying to correct your code according to my<br>
understanding. Some resetReaderIndex methods have been commented out for<br>
correction. You can try it. Please let me know if it works.<br>
<br>
good luck<br>
<br>
yanky<br>
<br>
<br>
public class LoggingAgentMessageDecoder extends FrameDecoder {<br>
<br>
       private int maxMsgLenToRead = Constants.LOG_AGENT_MAXIMUM_MSG_LEN;<br>
<br>
       private Logger logger = Logger.getLogger(this.getClass());<br>
<br>
       @Override<br>
        protected Object decode(ChannelHandlerContext ctx, Channel channel,<br>
                        ChannelBuffer buffer) throws Exception {<br>
<br>
               ChannelBuffer[] frame = new ChannelBuffer[2];<br>
<br>
               // Make sure if the body length field was received.<br>
               if (buffer.readableBytes() &lt; 4) {<br>
                       return null;<br>
               }<br>
               // The length field is in the buffer.<br>
<br>
               // Mark the current buffer position before reading the length<br>
field<br>
               buffer.markReaderIndex();<br>
               // Read the length field.<br>
               int messageLength = buffer.readInt();<br>
               <a href="http://logger.info" target="_blank">logger.info</a>(&quot;Total message lenth is &quot; + messageLength);<br>
<br>
               // Make sure if the message length field was received.<br>
               if (buffer.readableBytes() &lt; 4) {<br>
                       // if not enough bytes, we should reset reader index<br>
to ensure we can read header length field again at the next time when this<br>
decode method is invoked<br>
                       buffer.resetReaderIndex();<br>
                       return null;<br>
               }<br>
               // buffer.markReaderIndex(); // not needed here<br>
               int headerLength = buffer.readInt();<br>
               <a href="http://logger.info" target="_blank">logger.info</a>(&quot;Total message lenth is &quot; + headerLength);<br>
<br>
               // buffer.resetReaderIndex(); // not needed here<br>
               if (buffer.readableBytes() &lt; headerLength) {<br>
                       // The whole bytes were not received yet - return<br>
null.<br>
                       // This method will be invoked again when more<br>
packets are<br>
                       // received and appended to the buffer.<br>
<br>
                       // Reset to the marked position to read the length<br>
field again<br>
                       // next time.<br>
                       buffer.resetReaderIndex(); // yes, this time we need<br>
to reset reader index to read all bytes again<br>
<br>
                       return null;<br>
               }<br>
               frame[0] = buffer.readBytes(headerLength);<br>
               // buffer.resetReaderIndex();  // not needed here<br>
               System.out.println(&quot;Bufer capacity is &quot; + buffer.capacity());<br>
               if (buffer.readableBytes() &lt; messageLength) {<br>
                       // The whole bytes were not received yet - return<br>
null.<br>
                       // This method will be invoked again when more<br>
packets are<br>
                       // received and appended to the buffer.<br>
<br>
                       // Reset to the marked position to read the length<br>
field again<br>
                       // next time.<br>
<br>
                       // control is coming inside this since the capacity<br>
fo channelbuffer<br>
                       // is always less then the total message length.<br>
                       buffer.resetReaderIndex(); // yes, again we need to<br>
reset<br>
<br>
                       return null;<br>
               }<br>
<br>
               // There&#39;s enough bytes in the buffer. Read it.<br>
               frame[1] = buffer.readBytes(messageLength);<br>
               // TODO: need to add the logic to get the data parsed and add<br>
into<br>
               // activeAMQ<br>
               return frame;<br>
       }<br>
}<br>
<br>
<br>
2009/4/14 manishr22 &lt;<a href="mailto:manishr22@gmail.com">manishr22@gmail.com</a>&gt;<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Still this one is not able to solve this problem.<br>
&gt;<br>
&gt; The message comes from my server has proper format like:<br>
&gt;<br>
&gt; First 4 byte has information about body length. for example 1173<br>
&gt; Next 4 byte has length of header for example 92<br>
&gt; now in next 92 bytes i have my message header.<br>
&gt; and then from 100th byte onward i have my message body till 1173 byte.<br>
&gt;<br>
&gt; To solve this I have written my decoder and tried solving it like:<br>
&gt;<br>
&gt; public class LoggingAgentMessageDecoder extends FrameDecoder {<br>
&gt;<br>
&gt;        private int maxMsgLenToRead = Constants.LOG_AGENT_MAXIMUM_MSG_LEN;<br>
&gt;<br>
&gt;        private Logger logger = Logger.getLogger(this.getClass());<br>
&gt;<br>
&gt;        @Override<br>
&gt;         protected Object decode(ChannelHandlerContext ctx, Channel channel,<br>
&gt;                         ChannelBuffer buffer) throws Exception {<br>
&gt;<br>
&gt;                ChannelBuffer[] frame = new ChannelBuffer[2];<br>
&gt;<br>
&gt;                // Make sure if the message length field was received.<br>
&gt;                if (buffer.readableBytes() &lt; 4) {<br>
&gt;                        return null;<br>
&gt;                }<br>
&gt;                // The length field is in the buffer.<br>
&gt;<br>
&gt;                // Mark the current buffer position before reading the<br>
&gt; length field<br>
&gt;                buffer.markReaderIndex();<br>
&gt;                // Read the length field.<br>
&gt;                int messageLength = buffer.readInt();<br>
&gt;                <a href="http://logger.info" target="_blank">logger.info</a>(&quot;Total message lenth is &quot; + messageLength);<br>
&gt;<br>
&gt;                // Make sure if the message length field was received.<br>
&gt;                if (buffer.readableBytes() &lt; 4) {<br>
&gt;                        return null;<br>
&gt;                }<br>
&gt;                buffer.markReaderIndex();<br>
&gt;                int headerLength = buffer.readInt();<br>
&gt;                <a href="http://logger.info" target="_blank">logger.info</a>(&quot;Total message lenth is &quot; + headerLength);<br>
&gt;<br>
&gt;                buffer.resetReaderIndex();<br>
&gt;                if (buffer.readableBytes() &lt; headerLength) {<br>
&gt;                        // The whole bytes were not received yet - return<br>
&gt; null.<br>
&gt;                        // This method will be invoked again when more<br>
&gt; packets are<br>
&gt;                        // received and appended to the buffer.<br>
&gt;<br>
&gt;                        // Reset to the marked position to read the length<br>
&gt; field again<br>
&gt;                        // next time.<br>
&gt;                        buffer.resetReaderIndex();<br>
&gt;<br>
&gt;                        return null;<br>
&gt;                }<br>
&gt;                frame[0] = buffer.readBytes(headerLength);<br>
&gt;                buffer.resetReaderIndex();<br>
&gt;                System.out.println(&quot;Bufer capacity is &quot; +<br>
&gt; buffer.capacity());<br>
&gt;                if (buffer.readableBytes() &lt; messageLength) {<br>
&gt;                        // The whole bytes were not received yet - return<br>
&gt; null.<br>
&gt;                        // This method will be invoked again when more<br>
&gt; packets are<br>
&gt;                        // received and appended to the buffer.<br>
&gt;<br>
&gt;                        // Reset to the marked position to read the length<br>
&gt; field again<br>
&gt;                        // next time.<br>
&gt;<br>
&gt;                        // control is coming inside this since the capacity<br>
&gt; fo channelbuffer<br>
&gt;                        // is always less then the total message length.<br>
&gt;                        buffer.resetReaderIndex();<br>
&gt;<br>
&gt;                        return null;<br>
&gt;                }<br>
&gt;<br>
&gt;                // There&#39;s enough bytes in the buffer. Read it.<br>
&gt;                frame[1] = buffer.readBytes(messageLength);<br>
&gt;                // TODO: need to add the logic to get the data parsed and<br>
&gt; add into<br>
&gt;                // activeAMQ<br>
&gt;                return frame;<br>
&gt;        }<br>
&gt; }<br>
&gt;<br>
&gt;<br>
&gt; But the problem in this i see is whenever the controls come to if statement<br>
&gt; which goes to read my body i see buffer.readableBytes() is always 1020 and<br>
&gt; since my body length is greater than this it goes inside the if condition<br>
&gt; and call the method buffer.resetReaderIndex().<br>
&gt;<br>
&gt; This actually recall the whole decode method again and then re-initialize<br>
&gt; the value for message-length and header-length to the wrong value like<br>
&gt; message length as 92 and after that 262145.<br>
&gt;<br>
&gt; and this all mess up completely. for my testing from client i am actually<br>
&gt; sending only one data which message header of 92 byte and body as 1173<br>
&gt; bytes.<br>
&gt;<br>
&gt; so i am not sure how come in different iteration the message length gets<br>
&gt; increased.<br>
&gt;<br>
&gt; i see always the capacity the the ChannelBuffer comes as 1024 though i am<br>
&gt; not setting the limit to channelBuffer.<br>
&gt;<br>
&gt;<br>
&gt; Please suggest what wrong i am doing?<br>
&gt;<br>
&gt; Regards<br>
&gt; Manish<br>
&gt;<br>
&gt;<br>
&gt; Hi:<br>
&gt;<br>
&gt; You have a schema in your message. So while encoding and decoding, you have<br>
&gt; to recognize a complete request or response message. A common practice is<br>
&gt; to<br>
&gt; use another delimiter that&#39;s usually not used in protocol message to mark<br>
&gt; the boundary of different protocol messages. Fortunately, netty do has<br>
&gt; out-of-box support for this problem. You can have a look at example.telnet<br>
&gt; package and also codec.frame package to see how DelimiterBasedFrameDecoder<br>
&gt; can work for you.<br>
&gt;<br>
&gt; Another consideration is that, you have a xml message, of course it is<br>
&gt; string, but you can build your own encoder and decoder to translate POJO<br>
&gt; from/to xml string and then xml string from/to ChannelBuffer. That would be<br>
&gt; better. I think it would be like this:<br>
&gt;<br>
&gt; in your PipelineFactory:<br>
&gt;<br>
&gt; // this factory should be used for both client and server to setup pipeline<br>
&gt; public ChannelPipeline getPipeline() throws Exception {<br>
&gt;        ChannelPipeline pipeline = pipeline();<br>
&gt;<br>
&gt;        final int xmlMessageSizeLimit  = 8192; // can be modified to meet<br>
&gt; your needs<br>
&gt;        // Add the text line codec combination first,<br>
&gt;        pipeline.addLast(&quot;framer&quot;, new DelimiterBasedFrameDecoder(<br>
&gt;                xmlMessageSizeLimit, Delimiters.nulDelimiter()));<br>
&gt;        pipeline.addLast(&quot;decoder&quot;, new MyProtocolDecoder());<br>
&gt;        pipeline.addLast(&quot;encoder&quot;, new MyProtocolEncoder());<br>
&gt;<br>
&gt;        // and then business logic.<br>
&gt;        pipeline.addLast(&quot;handler&quot;, handler);<br>
&gt; }<br>
&gt;<br>
&gt; and then define your own encoder and decoder:<br>
&gt;<br>
&gt; public class MyProtocolDecoder extends StringDecoder{<br>
&gt;      //just override decode method<br>
&gt;      protected Object decode(<br>
&gt;            ChannelHandlerContext ctx, Channel channel, Object msg) throws<br>
&gt; Exception {<br>
&gt;        String xml = super(ctx, channel, msg);<br>
&gt;        // then use any xml parser or xml binding tool to map xml to your<br>
&gt; POJO, I use XStream as example<br>
&gt;        XStream mapper = new XStream();<br>
&gt;        mapper.alias(&quot;header&quot;, MyProtocolMessage.MyProtocolHeader.class);<br>
&gt;        mapper.alias(&quot;body&quot;, MyProtocolMessage.MyProtocolBody.class);<br>
&gt;        MyProtocolMessage protoMsg = mapper.fromXML(xml);<br>
&gt;        return protoMsg;<br>
&gt;    }<br>
&gt; }<br>
&gt;<br>
&gt; public class MyProtocolMessage {<br>
&gt;   MyProtocolHeader header;<br>
&gt;   MyProtocolBody body;<br>
&gt;<br>
&gt;   static class MyProtocolHeader {......}<br>
&gt;   static class MyProtocolBody {......}<br>
&gt;<br>
&gt; }<br>
&gt;<br>
&gt; you should do the reverse process in MyProtocolEncoder<br>
&gt;<br>
&gt; Hope it helps.<br>
&gt;<br>
&gt; good luck<br>
&gt;<br>
&gt; yanky<br>
&gt;<br>
&gt;<br>
&gt; 2009/4/13 manishr22 &lt;<a href="mailto:manishr22@gmail.com">manishr22@gmail.com</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; How I can read a chunk of data from channel using netty api? my client is<br>
&gt; &gt; writing every time on socket<br>
&gt; &gt;<br>
&gt; &gt; &lt;manish&gt; welcome to the real world&lt;/manish&gt;<br>
&gt; &gt;<br>
&gt; &gt; and my netty server needs to read the message till &lt;/manish&gt; in one go.<br>
&gt; and<br>
&gt; &gt; then next message starting from &lt;manish&gt; should be read by Netty server.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Any code snippet would be a great help.<br>
&gt; &gt;<br>
&gt; &gt; In my decoder if i read the message from channelbuffer using getbytes()<br>
&gt; api<br>
&gt; &gt; i see the data but not able to get i can read the whole message in one<br>
&gt; go. i<br>
&gt; &gt; do see sometime some extra message being read from channel. any reason<br>
&gt; why<br>
&gt; &gt; it should be.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks in advance.<br>
&gt; &gt; Regards<br>
&gt; &gt; Manish<br>
&gt; &gt;<br>
&gt; &gt; Hi Yanky,<br>
&gt; &gt;<br>
&gt; &gt; Thanks so much for your guidance. I will look into factorial example will<br>
&gt; &gt; solving my problem based on this.<br>
&gt; &gt;<br>
&gt; &gt; For any further help, if needed i will post my request here.<br>
&gt; &gt;<br>
&gt; &gt; Thanks again<br>
&gt; &gt;<br>
&gt; &gt; Manish<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks Yanky for the great answer!  So nice that you are here as a<br>
&gt; &gt; part of the community.<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt;<br>
&gt; &gt; — Trustin Lee, <a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
&gt; &gt;<br>
&gt; &gt; On Sat, Apr 11, 2009 at 3:16 AM, yanky young &lt;<a href="mailto:yanky.young@gmail.com">yanky.young@gmail.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; Hi:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I am not netty expert yet. I am just trying to give some hints. In your<br>
&gt; &gt; &gt; case, you are actually building a request/response protocol. And<br>
&gt; request<br>
&gt; &gt; and<br>
&gt; &gt; &gt; response message may include quite complicated headers and body. So you<br>
&gt; &gt; have<br>
&gt; &gt; &gt; to do some message encoding and decoding in both server side and client<br>
&gt; &gt; &gt; side. You can see in netty codebase there are some out-of-box encoder<br>
&gt; and<br>
&gt; &gt; &gt; decoder in handler.codec package. I suggest you take a look at<br>
&gt; &gt; &gt; example.fractorial package to see how to implement your own encoder and<br>
&gt; &gt; &gt; decoder for your message format which may be xml. If you are not<br>
&gt; &gt; sensitive<br>
&gt; &gt; &gt; to message format, you can also have a look at example.localtime which<br>
&gt; &gt; use<br>
&gt; &gt; &gt; google protobuf library as real encoder and decoder.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; good luck<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; yanky<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 2009/4/11 manishr22 &lt;<a href="mailto:manishr22@gmail.com">manishr22@gmail.com</a>&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Hi Yanky,<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; I took the sample code from svn trunk and saw the codes too. Could you<br>
&gt; &gt; &gt;&gt; please let me know which one among given sample code will fit for the<br>
&gt; &gt; &gt;&gt; reference of my requirement.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Regards,<br>
&gt; &gt; &gt;&gt; Manish<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Hi:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Of course there are some sample code in netty project. You can just<br>
&gt; &gt; check<br>
&gt; &gt; &gt;&gt; out the svn trunk and see some samples in example package.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; good luck<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; yanky<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; 2009/4/10 manishr22 &lt;<a href="mailto:manishr22@gmail.com">manishr22@gmail.com</a>&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; Hi,<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; I had a problem statement<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; &quot;to write an asynchronous TCP server to which multiple clients will<br>
&gt; &gt; &gt;&gt; &gt; connect<br>
&gt; &gt; &gt;&gt; &gt; and keep sending messages to my tcp server. My server should read<br>
&gt; the<br>
&gt; &gt; &gt;&gt; &gt; message and send back some acknowledgment information to the client<br>
&gt; &gt; who<br>
&gt; &gt; &gt;&gt; &gt; sent<br>
&gt; &gt; &gt;&gt; &gt; the data. While reading the data at server since the message comes<br>
&gt; in<br>
&gt; &gt; &gt;&gt; &gt; particular format i have to do some processing before sending the<br>
&gt; &gt; &gt;&gt; &gt; response<br>
&gt; &gt; &gt;&gt; &gt; back to client.&quot;<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; say my client is sending a message structure in which it has some<br>
&gt; &gt; header<br>
&gt; &gt; &gt;&gt; &gt; and then in body it has message like :<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; &lt;manish&gt;welcome to the real world&lt;/manish&gt;<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; I was on the way to implement NIO but in between i found such a<br>
&gt; great<br>
&gt; &gt; &gt;&gt; &gt; library netty and thought of using it. i was trying to make use of<br>
&gt; &gt; this<br>
&gt; &gt; &gt;&gt; &gt; library with the given tutorial and examples but i found that<br>
&gt; tutorial<br>
&gt; &gt; &gt;&gt; &gt; is<br>
&gt; &gt; &gt;&gt; &gt; not good enough to solve the complex problem.<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; If you can provide me some guidance or sample code that how i should<br>
&gt; &gt; &gt;&gt; &gt; solve<br>
&gt; &gt; &gt;&gt; &gt; my problem using netty library, that would be great.<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; Thanks in advance.<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; Regards<br>
&gt; &gt; &gt;&gt; &gt; Manish<br>
&gt; &gt; &gt;&gt; &gt; --<br>
&gt; &gt; &gt;&gt; &gt; View this message in context:<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;<br>
&gt; <a href="http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2615889.html" target="_blank">http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2615889.html</a><br>
&gt; &gt; &gt;&gt; &gt; Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt; &gt;&gt; &gt; netty-users mailing list<br>
&gt; &gt; &gt;&gt; &gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; &gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt;&gt; netty-users mailing list<br>
&gt; &gt; &gt;&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt;&gt; View this message in context:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; <a href="http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2617267.html" target="_blank">http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2617267.html</a><br>
&gt; &gt; &gt;&gt; Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt;&gt; netty-users mailing list<br>
&gt; &gt; &gt;&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; netty-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; netty-users mailing list<br>
&gt; &gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; View this message in context:<br>
&gt; &gt;<br>
&gt; <a href="http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2627351.html" target="_blank">http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2627351.html</a><br>
&gt; &gt; Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; netty-users mailing list<br>
&gt; &gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; netty-users mailing list<br>
&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2632783.html" target="_blank">http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2632783.html</a><br>
&gt; Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; netty-users mailing list<br>
&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt;<br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2642120.html" target="_blank">http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2642120.html</a><br>

<div><div></div><div class="h5">Sent from the Netty User Group mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div></div></blockquote></div><br>