|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--step.encoding.EncoderEvent | +--step.encoding.EncoderMessageEvent
An event that dispatches an arbitrary text message to an encoder.
Encoder.eventMessage(String)
,
Serialized FormNested Class Summary | |
static class |
EncoderMessageEvent.Factory
|
Field Summary | |
static RecordDef |
DEFINITION
|
StepString |
message
The message carried by this event. |
Fields inherited from class step.encoding.EncoderEvent |
target |
Fields inherited from interface step.StepRecord |
TYPE |
Constructor Summary | |
EncoderMessageEvent(StepString target,
StepString message)
|
Method Summary | |
void |
applyToEncoder(Encoder encoder)
Dispatch the message to the target encoder. |
boolean |
equals(Object o)
Compare two events for equality. |
FieldIterator |
fieldIterator()
Get an iterator for serial access to this record's fields. |
int |
hashCode()
Get a hash code for this object. |
Methods inherited from class step.encoding.EncoderEvent |
apply, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final RecordDef DEFINITION
public StepString message
Constructor Detail |
public EncoderMessageEvent(StepString target, StepString message)
Method Detail |
public void applyToEncoder(Encoder encoder)
applyToEncoder
in class EncoderEvent
public boolean equals(Object o)
equals
in interface StepObject
equals
in class Object
ClassCastException
- if the object is not an EncoderMessageEvent
NullPointerException
- if the object is null
.public int hashCode()
StepObject
NOTE: All STEP objects must be hashable to support the identifier encoding strategy.
hashCode
in interface StepObject
hashCode
in class Object
public FieldIterator fieldIterator()
StepRecord
NOTE: The order in which fields are accessed by the iterator should be compatible with the factory associated with this record.
RecordFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |