Thursday, July 5, 2012

Apache Mina: Reading Binary Data

The "messageReceived" callback returns an Object that represents the message. When the data sent is in raw binary form, you'll need to cast the object to an IOBuffer before you can read it.

Reference: http://stackoverflow.com/questions/9916617/how-to-read-binary-data-from-socket-with-apache-mina

No comments:

Post a Comment