protected void recognize(Buffer content, SocketAddress address)
throws Exception {
while (content.hasRemaining()) {
Buffer slice = content.asReadOnlyBuffer().slice();
Object obj = session.getPacketDecoder().decode(session,
new DefaultPacket(slice, address));
if (obj == null)
break;
content.skip(slice.position());
session.getSessionFilterChain(false).objectReceived(obj);
}