|
|||||||||
| 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 |
extendInflate(java.io.DataInput in)
This method is implemented by BufferEvent extenders to inflate the additional information
they handle |
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, getSource, inflate, inflate, setSource |
| 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 object| Method Detail |
|---|
public void setItem(IPumpable item)
item - the payload objectpublic IPumpable getItem()
public void extendDeflate(java.io.DataOutput out)
throws GRS2RecordSerializationException
BufferEvent extenders to deflate the additional information
they handle
extendDeflate in class BufferEventout - 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 BufferEventin - 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 | ||||||||