dulanov's posterous

  • Dmitry Ulanov’s Opinions (archive!)
« Back to posts
  • Viewed
    times
June 24, 2011

Non-blocking keep-alive JBoss Netty-based TCP-listener

  • Edit
  • Delete
  • Tags
  • Autopost

An example of keep-alive TCP-listener which transfers XML-messages expended with four-bytes length headers. The brilliant JBoss Netty library was used.

TCPListener itself:

JiBX XML-mapping binding was used (binding files are hidden, sorry):

Just an echo server for testing purposes:

Tweet
  • 0 responses
  • Like
  • Comment