|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.voytechs.jnetstream.codec.event.DecoderEvent
public class DecoderEvent
This is a base class for all Decoder events.
To find out the type of event, use the getType() method.
Then if extended information about the event is needed, the
event object needs to be cast to the type of event it is.
The following events are supported.
| Constructor Summary | |
|---|---|
DecoderEvent(java.lang.String eventType)
|
|
| Method Summary | |
|---|---|
int |
getSubType()
Return the subtype of event. |
java.lang.String |
getType()
Returns the type of event. |
static void |
main(java.lang.String[] args)
Test function for DecoderEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecoderEvent(java.lang.String eventType)
-
| Method Detail |
|---|
public java.lang.String getType()
public int getSubType()
public static void main(java.lang.String[] args)
args - command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||