// It's a regular xmpp message
handleXMPPMessage((Packet) e.getData());
return;
} else if (e instanceof ECFConnectionObjectPacketEvent) {
// It's an ECF object message
final ECFConnectionObjectPacketEvent evt = (ECFConnectionObjectPacketEvent) e;
final Object obj = evt.getObjectValue();
// this should be a ContainerMessage
final Object cm = deserializeContainerMessage((byte[]) obj);
if (cm == null)
throw new IOException(
Messages.XMPPContainer_EXCEPTION_DESERIALIZED_OBJECT_NULL);