incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghavendar TS <raghav280...@gmail.com>
Subject Re: POJO instead of Java serialization in S4 piper.Why
Date Tue, 04 Sep 2012 07:32:20 GMT
Hi
Can you send me some snippet on dispatching custom POJO classes in S4 0.3.0
In my case I have an object of Instance.class

Thus my event is represented by

import weka.core.Instance;
public class Event
{
private Instance inst;
getmethod and setmethod for inst and key
}

PE1 dispatches Event to PE2.
In PE1 I dispatch normally like
dispatcher.dispatchEvent(OutputStreamName,new Event(inst,key));

The constructor is getting instantiated.But PE2 is not receiving the event
Event.ie object of Instance class I am not able to send.How to solve it?

Thankyou

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message