Package adams.event
Class RESTClientProducerResponseDataEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.event.RESTClientProducerResponseDataEvent
-
- All Implemented Interfaces:
Serializable
public class RESTClientProducerResponseDataEvent extends EventObject
Gets sent when aRESTClientProducer
received data.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description RESTClientProducerResponseDataEvent(RESTClientProducer source)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTClientProducer
getProducer()
Returns theRESTClientProducer
that generated the event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
RESTClientProducerResponseDataEvent
public RESTClientProducerResponseDataEvent(RESTClientProducer source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Detail
-
getProducer
public RESTClientProducer getProducer()
Returns theRESTClientProducer
that generated the event.- Returns:
- the source
-
-