Skip to content
Snippets Groups Projects
Commit c224271c authored by brutzman's avatar brutzman
Browse files

retest looks good!

parent b285c379
No related branches found
No related tags found
No related merge requests found
Invocation instructions: Invocation instructions:
1. run/debug TcpExample4ThreadServer.java 1. run/debug TcpExample4ThreaTcpExample4DispatchServerdServer.java
2. don't run TcpExample4HandlerThread since it is launched as needed 2. don't run TcpExample4HandlerThread since it is launched as needed
3. run/debug TcpExample4Client.java 3. run/debug TcpExample4Client.java
...@@ -8,56 +8,61 @@ Two program response logs: ...@@ -8,56 +8,61 @@ Two program response logs:
=================================================== ===================================================
=================================================== ===================================================
run: run:
TcpExample4ThreadServer ready to accept socket connections... ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=TcpExamples/TcpExample4DispatchServer.java -Drun.class=TcpExamples.TcpExample4DispatchServer run-single
run-single:
TcpExample4DispatchServer ready to accept socket connections...
============================================================= =============================================================
TcpExample4ThreadServer.handlerThread invocation for connection #1... TcpExample4DispatchServer.handlerThread invocation for connection #1...
TcpExample4ThreadServer.handlerThread is launched, awaiting another connection...T TcpExample4DispatchServer.handlerThread is launched, awaiting another connection...
cpExample4HandlerThread starting to handle a thread... TcpExample4HandlerThread starting to handle a thread...
TcpExample4HandlerThread pausing for TIMEOUT=10000ms TcpExample4HandlerThread pausing for TIMEOUT=2000ms
TcpExample4HandlerThread finished handling a thread, now exit. TcpExample4HandlerThread finished handling a thread, now exit.
============================================================= =============================================================
TcpExample4ThreadServer.handlerThread invocation for connection #2... TcpExample4DispatchServer.handlerThread invocation for connection #2...
TcpExample4ThreadServer.handlerThread is launched, awaiting another connection... TcpExample4DispatchServer.handlerThread is launched, awaiting another connection...
TcpExample4HandlerThread starting to handle a thread... TcpExample4HandlerThread starting to handle a thread...
TcpExample4HandlerThread pausing for TIMEOUT=10000ms TcpExample4HandlerThread pausing for TIMEOUT=2000ms
TcpExample4HandlerThread finished handling a thread, now exit. TcpExample4HandlerThread finished handling a thread, now exit.
============================================================= =============================================================
TcpExample4ThreadServer.handlerThread invocation for connection #3... TcpExample4DispatchServer.handlerThread invocation for connection #3...
TcpExample4ThreadServer.handlerThread is launched, awaiting another connection... TcpExample4DispatchServer.handlerThread is launched, awaiting another connection...
TcpExample4HandlerThread starting to handle a thread... TcpExample4HandlerThread starting to handle a thread...
TcpExample4HandlerThread pausing for TIMEOUT=10000ms TcpExample4HandlerThread pausing for TIMEOUT=2000ms
TcpExample4HandlerThread finished handling a thread, now exit. TcpExample4HandlerThread finished handling a thread, now exit.
============================================================= =============================================================
TcpExample4ThreadServer.handlerThread invocation for connection #4... TcpExample4DispatchServer.handlerThread invocation for connection #4...
TcpExample4ThreadServer.handlerThread is launched, awaiting another connection... TcpExample4DispatchServer.handlerThread is launched, awaiting another connection...
TcpExample4HandlerThread starting to handle a thread... TcpExample4HandlerThread starting to handle a thread...
TcpExample4HandlerThread pausing for TIMEOUT=10000ms TcpExample4HandlerThread pausing for TIMEOUT=2000ms
TcpExample4HandlerThread finished handling a thread, now exit. TcpExample4HandlerThread finished handling a thread, now exit.
BUILD STOPPED (total time: 1 minute 7 seconds) BUILD STOPPED (total time: 42 seconds)
=================================================== ===================================================
=================================================== ===================================================
run: run:
TcpExample4Client start ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=TcpExamples/TcpExample4Client.java -Drun.class=TcpExamples.TcpExample4Client run-single
TcpExample4Client start, loop 4 times
================================================== ==================================================
TcpExample4Client creating socket #1... TcpExample4Client creating socket #1...
TcpExample4Client: message received from server=This was written by the server TcpExample4HandlerThread TcpExample4Client: message received from server='This message was written by the server TcpExample4HandlerThread'
TcpExample4Client: time msec required for read=10021 TcpExample4Client: time msec required for read=2023
================================================== ==================================================
TcpExample4Client creating socket #2... TcpExample4Client creating socket #2...
TcpExample4Client: message received from server=This was written by the server TcpExample4HandlerThread TcpExample4Client: message received from server='This message was written by the server TcpExample4HandlerThread'
TcpExample4Client: time msec required for read=10002 TcpExample4Client: time msec required for read=2003
================================================== ==================================================
TcpExample4Client creating socket #3... TcpExample4Client creating socket #3...
TcpExample4Client: message received from server=This was written by the server TcpExample4HandlerThread TcpExample4Client: message received from server='This message was written by the server TcpExample4HandlerThread'
TcpExample4Client: time msec required for read=10001 TcpExample4Client: time msec required for read=2005
================================================== ==================================================
TcpExample4Client creating socket #4... TcpExample4Client creating socket #4...
TcpExample4Client: message received from server=This was written by the server TcpExample4HandlerThread TcpExample4Client: message received from server='This message was written by the server TcpExample4HandlerThread'
TcpExample4Client: time msec required for read=10003 TcpExample4Client: time msec required for read=2005
================================================== ==================================================
TcpExample4Client complete TcpExample4Client complete
BUILD SUCCESSFUL (total time: 40 seconds) BUILD SUCCESSFUL (total time: 9 seconds)
=================================================== ===================================================
=================================================== ===================================================
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment