|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.voytechs.jnetstream.codec.event.DecoderEvent
com.voytechs.jnetstream.codec.event.DecoderInternals
public class DecoderInternals
Base class for certain Events. This class exposes some of the internal structures of the Decoder. You can retrieve the SymTable of the decoder, the runtime Context and for conveniece a reference to the Decoder object. These are internal structures of the Decoder normally not visible to the user. But these structures allow expert and advanced features to be exposed.
| Constructor Summary | |
|---|---|
DecoderInternals(java.lang.String eventType,
SymTable symTable,
Context context,
Decoder decoder,
Packet packet)
Initialize the internal structure support class. |
|
| Method Summary | |
|---|---|
Context |
getContext()
Returns the runtime context which holds all of the variables and references. |
Decoder |
getDecoder()
Returns the decoder that is the parent of all these internal structures. |
SymTable |
getSymTable()
Returns the symbolic table at the time the event occured. |
static void |
main(java.lang.String[] args)
Test function for DecoderInternals |
java.lang.String |
toString()
Returns a nice representation of this object. |
| Methods inherited from class com.voytechs.jnetstream.codec.event.DecoderEvent |
|---|
getSubType, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DecoderInternals(java.lang.String eventType,
SymTable symTable,
Context context,
Decoder decoder,
Packet packet)
eventType - The type of event this is. This is passed on to the DecoderEvent class.symTable - Symbolic table of the internal structure this event is for.context - Runtime context which holds all of the variables and references.decoder - The decoder that is the parent of all of the internal structures.packet - This is the packet that the structure being constructed belongs to.| Method Detail |
|---|
public SymTable getSymTable()
public Context getContext()
public Decoder getDecoder()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 | ||||||||