|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.uoa.di.madgik.grs.events.BufferEvent
gr.uoa.di.madgik.grs.events.ObjectEvent
public class ObjectEvent
BufferEvent
extender that propagates an object that implements IPumpable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class gr.uoa.di.madgik.grs.events.BufferEvent |
---|
BufferEvent.EventSource |
Constructor Summary | |
---|---|
ObjectEvent()
Create a new instance |
|
ObjectEvent(IPumpable item)
Create a new instance |
Method Summary | |
---|---|
void |
extendDeflate(java.io.DataOutput out)
This method is implemented by BufferEvent extenders to deflate the additional information
they handle |
void |
extendFromXML(org.w3c.dom.Element element)
|
void |
extendInflate(java.io.DataInput in)
This method is implemented by BufferEvent extenders to inflate the additional information
they handle |
void |
extendToXML(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
|
IPumpable |
getItem()
Retrieves the payload object |
void |
setItem(IPumpable item)
Sets the payload object |
Methods inherited from class gr.uoa.di.madgik.grs.events.BufferEvent |
---|
deflate, fromXML, getSource, inflate, inflate, setSource, toXML |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectEvent()
public ObjectEvent(IPumpable item)
item
- the payload objectMethod Detail |
---|
public void setItem(IPumpable item)
item
- the payload objectpublic IPumpable getItem()
public void extendToXML(org.w3c.dom.Document doc, org.w3c.dom.Element element) throws GRS2RecordSerializationException
extendToXML
in class BufferEvent
GRS2RecordSerializationException
public void extendFromXML(org.w3c.dom.Element element) throws GRS2RecordSerializationException
extendFromXML
in class BufferEvent
GRS2RecordSerializationException
public void extendDeflate(java.io.DataOutput out) throws GRS2RecordSerializationException
BufferEvent
extenders to deflate the additional information
they handle
extendDeflate
in class BufferEvent
out
- the stream to deflate to
GRS2RecordSerializationException
- there was a problem deflating the eventBufferEvent.extendDeflate(java.io.DataOutput)
public void extendInflate(java.io.DataInput in) throws GRS2RecordSerializationException
BufferEvent
extenders to inflate the additional information
they handle
extendInflate
in class BufferEvent
in
- the stream to inflate from
GRS2RecordSerializationException
- there was a problem inflating the eventBufferEvent.extendInflate(java.io.DataInput)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |