serializationPack(message, clientID, out);
ByteBuffer buf = ByteBuffer.wrap(baos.toByteArray());
if (messageMonitor != null) {
messageMonitor.sending(message, buf.capacity());
}
// TODO Remove - this is should be in messageMonitor
if (logger.isLoggable(Level.FINEST)) {
logger.finest("Packed " + message.getClass().getName() + " size " + buf.capacity());