<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head>The protocol looks like an ASCII text line protocol. I'd suggest you to refer to the telnet example as a starting point.<br>
--<br>
Trustin Lee, http://gleamynode.net/<br>
Sent from a mobile device. Please excuse my brevity.<br><div class="gmail_quote">"Rajiv Kumar A.P" <rajivharris@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Christian,<br>The transmission of data between DAC and client application is using tcp. So thought of using netty for that.<br><br>Thanks,<br>Rajiv.<br><br><div class="gmail_quote">On Thu, Jan 27, 2011 at 2:38 AM, Christian Migowski <span dir="ltr"><<a href="mailto:chrismfwrd@gmail.com">chrismfwrd@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Rajiv,<br>
<br>
if these DAC are not accessible via a network interface and the wire<br>
protocol you're describing isn't acting on top of TCP or UDP, there is<br>
no support for that in "out-of-the-box" Netty. You can, of course,<br>
implement access to that controllers as a "transport" in Netty and<br>
after that utilize Nettys good API and (possibly) benefit from<br>
exchangeable transports of your protocol.<br>
<br>
<br>
hth,<br>
regards,<br>
christian!<br>
<div class="im"><br>
On Wed, Jan 26, 2011 at 10:38 PM, nettyCoder <<a href="mailto:rajivharris@gmail.com">rajivharris@gmail.com</a>> wrote:<br>
><br>
> Hi Trustin,<br>
> Thanks for the reply. The wirelink protocol is used to communicate with<br>
> Digital Addressable controller.The DAC receives and transmits all<br>
> information over the WireLink in packets. The binary data is encoded into<br>
> printable ASCII characters for transmission.<br>
><br>
> The protocol looks like below<br>
> STX+Packet Header (Packet Size)+ Packet Data+Checksum+CR<br>
><br>
> Thanks,<br>
> Rajiv.<br>
><br>
><br>
> On Wed, Jan 26, 2011 at 10:28 AM, Trustin Lee [via Netty Forums and Mailing<br>
</div>> Lists] <<a href="mailto:ml-node%2B5963272-739515670-314896@n2.nabble.com">ml-node+5963272-739515670-314896@n2.nabble.com</a><<a href="mailto:ml-node%252B5963272-739515670-314896@n2.nabble.com">ml-node%2B5963272-739515670-314896@n2.nabble.com</a>><br>
<div class="im">>> wrote:<br>
><br>
>> -----BEGIN PGP SIGNED MESSAGE-----<br>
>> Hash: SHA256<br>
>><br>
>> IIUC, you are implementing a binary protocol. I think the factorial example<br>
>> is a good place to start. I could give you more advise if you coukd<br>
>> describe what the protocol exactly looks like.<br>
>><br>
</div><div class="im">>> "nettyCoder" <[hidden email]<<a href="http://user/SendEmail.jtp?type=node&node=5963272&i=0" target="_blank">http://user/SendEmail.jtp?type=node&node=5963272&i=0</a>>><br>
</div><div class="im">>> wrote:<br>
>><br>
>> ><br>
>> >Hi,<br>
>> >I am new to the netty framework. am trying to develop a application<br>
>> >which<br>
>> >communicates to DAC using wire link protocol.<br>
>> >the application will take commands and do a socket communication with<br>
>> >DAC.<br>
>> >the data transferred will be in bytes. need some example to startwith<br>
>> >along<br>
>> >with good practices.<br>
>> ><br>
>> >Appreciate your help.<br>
>> ><br>
>> >Thanks,<br>
>> >Rajiv.<br>
>> >--<br>
>> >View this message in context:<br>
>> ><br>
</div>>> <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html</a><<a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html?by-user=t" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html?by-user=t</a>><br>
<div class="im">>> >Sent from the Netty User Group mailing list archive at Nabble.com.<br>
>> >_______________________________________________<br>
>> >netty-users mailing list<br>
</div><div class="im">>> >[hidden email] <<a href="http://user/SendEmail.jtp?type=node&node=5963272&i=1" target="_blank">http://user/SendEmail.jtp?type=node&node=5963272&i=1</a>><br>
</div><div class="im">>> ><a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
>><br>
>> - --<br>
>> Trustin Lee, <a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
>> Sent from a mobile device. Please excuse my brevity.<br>
>> -----BEGIN PGP SIGNATURE-----<br>
>> Version: APG v1.0.8<br>
>><br>
>> iIkEAREIADEFAk1ASycqHFRydXN0aW4gSGV1aXNldW5nIExlZSA8dHJ1c3RpbkBn<br>
>> bWFpbC5jb20+AAoJEJb7nbIZ8zONhVwA/R++c8NmyeDe0mVDwcUNWDFdmal9BVsJ<br>
>> grr1HvrFr+4UAP99+nBkzJNViYEKHcvGVxorke2S6trIQycv1DaTtcsj1Q==<br>
>> =lYOB<br>
>> -----END PGP SIGNATURE-----<br>
>><br>
>><br>
>> _______________________________________________<br>
>> netty-users mailing list<br>
</div><div class="im">>> [hidden email] <<a href="http://user/SendEmail.jtp?type=node&node=5963272&i=2" target="_blank">http://user/SendEmail.jtp?type=node&node=5963272&i=2</a>><br>
</div><div class="im">>> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
>> what we call human nature in actuality is human habit<br>
>> <a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
>><br>
>><br>
>> ------------------------------<br>
>> If you reply to this email, your message will be added to the discussion<br>
>> below:<br>
>><br>
>> <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5963272.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5963272.html</a><br>
</div><div class="im">>> To unsubscribe from byte communication using tcp client, click here<<a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5960865&code=cmFqaXZoYXJyaXNAZ21haWwuY29tfDU5NjA4NjV8LTE5MDg4NTcwNTY=" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5960865&code=cmFqaXZoYXJyaXNAZ21haWwuY29tfDU5NjA4NjV8LTE5MDg4NTcwNTY=</a>>.<br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
</div>> Rajiv<br>
><br>
> --<br>
> View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5964293.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5964293.html</a><br>
<div class="im">> Sent from the Netty User Group mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> netty-users mailing list<br>
</div><div class="im">> <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
</div><div class="im">> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
><br>
<br>
</div><div class="im">_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
</div><div><div></div><div class="h5"><a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a></div></div></blockquote></div><br><br clear="all">
<br>-- <br>Regards,<br>Rajiv<br><br>
</blockquote></div></html>