msg.not.expiration -= time;
// Writes a serializable object to this output stream.
if (compressedFlows) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
GZIPOutputStream gzipos = new GZIPOutputStream(baos);
oos = new ObjectOutputStream(gzipos);
oos.writeObject(msg.not);
// Be careful, the reset writes a TC_RESET byte
oos.reset();
// The OOS flush call the flush of this output stream.
oos.flush();
gzipos.finish();
gzipos.flush();
if (getLogger().isLoggable(BasicLevel.DEBUG))
getLogger().log(BasicLevel.DEBUG, "writeNotification - size=" + baos.size());
writeInt(baos.size());