|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SyntaxSocket
socket class for SyntaxDiagnose using socket # 4711 - compile program with "javac *.java" - start program with "java SyntaxSocket" - try getting streams fom Socket 4711 - all sentences except "das hocker steht unter/auf dem tisch" are analyzed as correct Example Client: class TestClient
Constructor Summary | |
SyntaxSocket()
creates a ServerSocket with socket # 4711 and a SyntaxDiagnose object |
Method Summary | |
static void |
main(java.lang.String[] args)
creates a new SyntaxSocket and waits for client input accepts only 1 client at a time exit this program by sending "shutdown" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyntaxSocket() throws java.io.IOException
Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |