|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
tuwien.auto.calimero.FrameEvent
public class FrameEvent
Event to communicate the arrival of a new cEMI or EMI2 frame.
Depending on the type of frame supplied on creation of a new frame event, either
getFrame()
or getFrameBytes()
has to be used to retrieve the
associated frame.
KNXListener
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FrameEvent(java.lang.Object source,
byte[] frame)
Creates a new frame event for frame . |
|
FrameEvent(java.lang.Object source,
CEMI frame)
Creates a new frame event for frame . |
Method Summary | |
---|---|
CEMI |
getFrame()
Returns the cEMI frame, if supplied at event creation. |
byte[] |
getFrameBytes()
Returns the frame as byte array, if supplied at event creation. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrameEvent(java.lang.Object source, byte[] frame)
frame
.
source
- the creator of this eventframe
- EMI2 L-data framepublic FrameEvent(java.lang.Object source, CEMI frame)
frame
.
source
- the creator of this eventframe
- cEMI frameMethod Detail |
---|
public final CEMI getFrame()
null
public final byte[] getFrameBytes()
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |