Menu

Stringin NioSocket

2006-04-05
2013-03-22
  • Luciano M Rodrigues

    The implementation of
    handle_read_complete(String mdata)

    in my opinion, is really bad for a framework. Since it reads from ByteBuffers, it should return that ByteBuffer, and in the server implementation we handle and convert it to String or whatever we want.

    I had to modify that code so I could read bytes[], because I'm not using the HTTP protocol, but a low level protocol.

    Since it's a framework, it's usage should be a little bit more extendable. You should really consider using this.

    Thanks!

     
    • Luciano M Rodrigues

      actually this only applies to jniosocket1

       

Log in to post a comment.

MongoDB Logo MongoDB