[elvin-discuss] invalid object type for notification
Matthew Phillips
matt at mattp.name
Mon Sep 10 03:43:17 CDT 2007
Hello Peizhao,
you need to send the object as byte array. Serialise the object using
a java.io.ObjectOutputStream connected to a
java.io.ByteArrayOutputStream and then use that in the notification.
Cheers,
Matthew.
On 10/09/2007, at 4:08 PM, Peizhao Hu wrote:
> Hi All,
>
> What can I do to enable sending object notification?
> I tried with implements my class the Serializable interface,
> however, it still saying
> java.lang.IllegalArgumentException: invalid object type for
> notification
>
> any idea?
>
> --
> regards;
>
> Peizhao
> _______________________________________________
> elvin-discuss mailing list
> elvin-discuss at elvin.org
> http://www.elvin.org/mailman/listinfo/elvin-discuss
More information about the elvin-discuss
mailing list