} else if (b == 0xff) {
if (lStart >= 0) {
if (pos <= lMaxFrameSize) {
RawPacket lPacket = new RawPacket(Arrays.copyOf(lBuff, pos));
try {
engine.processPacket(connector, lPacket);
} catch (Exception ex) {
mLog.error(ex.getClass().getSimpleName()
+ " in processPacket of connector "
+ connector.getClass().getSimpleName()
+ ": " + ex.getMessage());