Class RemoteDebugEventSocketListener
java.lang.Object
org.antlr.runtime.debug.RemoteDebugEventSocketListener
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionVersion of ANTLR (dictates events) -
Constructor Summary
ConstructorsConstructorDescriptionRemoteDebugEventSocketListener(DebugEventListener listener, String machine, int port) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidack()protected voidprotected RemoteDebugEventSocketListener.ProxyTreedeserializeNode(String[] elements, int offset) deserializeToken(String[] elements, int offset) protected voidprotected voidString[]getEventElements(String event) protected voidprotected booleanvoidrun()voidstart()Create a thread to listen to the remote running recognizerbooleanprotected StringunEscapeNewlines(String txt)
-
Field Details
-
version
Version of ANTLR (dictates events) -
grammarFileName
-
-
Constructor Details
-
RemoteDebugEventSocketListener
public RemoteDebugEventSocketListener(DebugEventListener listener, String machine, int port) throws IOException - Throws:
IOException
-
-
Method Details
-
eventHandler
protected void eventHandler() -
openConnection
protected boolean openConnection() -
closeConnection
protected void closeConnection() -
handshake
- Throws:
IOException
-
ack
protected void ack() -
dispatch
-
deserializeNode
-
deserializeToken
-
start
public void start()Create a thread to listen to the remote running recognizer -
run
-
getEventElements
-
unEscapeNewlines
-
tokenIndexesAreInvalid
public boolean tokenIndexesAreInvalid()
-