container/remote/src/main/java/org/mobicents/slee/connector/remote/RemoteEventWrapper.java
@Override
	public void writeExternal(ObjectOutput out) throws IOException {

		if(this.serializedEvent == null)
		{
			throw new IOException("No serialized event set.");
		}
		// add id?
		out.writeInt(this.serializedEvent.length);
		out.write(this.serializedEvent);
        out.flush();
	}
@Override
	public void writeExternal(ObjectOutput out) throws IOException {

		if(this.serializedEvent == null)
		{
			throw new IOException("No serialized event set.");
		}
		// add id?
		out.writeInt(this.serializedEvent.length);
		out.write(this.serializedEvent);
        out.flush();
	}
/*
(non-Javadoc)

@see java.io.Externalizable#writeExternal(java.io.ObjectOutput)