[xSocket-develop] onData ?
Status: Inactive
Brought to you by:
grro
|
From: Rod M. <rod...@gm...> - 2008-05-07 07:04:03
|
It looks like the docs have changed since I started using xSocket. My onData
implementation does
// reset to read position (if former reads failed) and mark it
connection.resetToReadMark();
connection.markReadPosition();
attempt to read datat that may or may not be thee
connection.removeReadMark();
process the data, only reached if a BufferUnderflowException wasn't
throw
Is the mark manipulation still necessary?
Thanks,
Rod
|