Skip to content
Snippets Groups Projects
Commit b1741c08 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

example outputs

parent 408125ee
No related branches found
No related tags found
No related merge requests found
Invocation instructions:
* run/debug TcpSentryServer.java
* run/debug TcpSentryClient.java
Program responses:
TcpSentryServer
----------
ant -f C:\\x3d-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run run
init:
Deleting: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
deps-jar:
Updating property file: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
Compiling 3 source files to C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
Copying 1 file to C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
compile:
run:
===============================================================================
[dispatcher] startup, menu 1g.TcpSentryServer, TcpExamples.TcpSentryDispatchServer
[dispatcher] waiting and ready to accept socket connection from a new client...
[dispatcher] received socket connection, creating handlerThread for visitor #1...
[sentry] 1h.TcpSentryClient, TcpExamples.TcpSentryHandlerThread
[dispatcher] a new sentry is now dispatched and running, using socket connection #1
===============================================================================
[dispatcher] waiting and ready to accept socket connection from a new client...
[sentry] startup, menu 1g.TcpSentryServer, TcpExamples.TcpSentryHandlerThread
[sentry] Announcement: the sentry watch is present and standing guard.
[sentry] Halt who goes there?
[client] joe
[sentry] Hello, joe
[sentry] You may not pass! Leave immediately or else...
[sentry] this visitor interaction is complete.
=================================================================================
[dispatcher] received socket connection, creating handlerThread for visitor #2...
[sentry] 1h.TcpSentryClient, TcpExamples.TcpSentryHandlerThread
[dispatcher] a new sentry is now dispatched and running, using socket connection #2
===============================================================================
[dispatcher] waiting and ready to accept socket connection from a new client...
[sentry] startup, menu 1g.TcpSentryServer, TcpExamples.TcpSentryHandlerThread
[sentry] Announcement: the sentry watch is present and standing guard.
[sentry] Halt who goes there?
[client] don
[sentry] Hello, don
[sentry] You may not pass! Leave immediately or else...
[sentry] this visitor interaction is complete.
=================================================================================
[dispatcher] received socket connection, creating handlerThread for visitor #3...
[sentry] 1h.TcpSentryClient, TcpExamples.TcpSentryHandlerThread
[dispatcher] a new sentry is now dispatched and running, using socket connection #3
===============================================================================
[dispatcher] waiting and ready to accept socket connection from a new client...
[sentry] startup, menu 1g.TcpSentryServer, TcpExamples.TcpSentryHandlerThread
[sentry] Announcement: the sentry watch is present and standing guard.
[sentry] Halt who goes there?
[client] Don
[sentry] Hello, Don
[sentry] You may pass, have a great MOVES day!
[sentry] this visitor interaction is complete.
=================================================================================
[dispatcher] received socket connection, creating handlerThread for visitor #4...
[sentry] 1h.TcpSentryClient, TcpExamples.TcpSentryHandlerThread
[dispatcher] a new sentry is now dispatched and running, using socket connection #4
===============================================================================
[dispatcher] waiting and ready to accept socket connection from a new client...
[sentry] startup, menu 1g.TcpSentryServer, TcpExamples.TcpSentryHandlerThread
[sentry] Announcement: the sentry watch is present and standing guard.
[sentry] Halt who goes there?
[client] exit
[sentry] Exiting the program.
BUILD SUCCESSFUL (total time: 54 seconds)
----------
TcpSentryClient
----------
ant -f C:\\x3d-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run run
init:
Deleting: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
deps-jar:
Updating property file: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
compile:
run:
===============================================================================
[client] startup, menu 1h.TcpSentryClient, TcpExamples.TcpSentryClient
[client] up to 6 visitors may approach.
===============================================================================
[client] creating client side to connect new socket #1...
[sentry] Announcement: the sentry watch is present and standing guard.
[client] (no response)
[sentry] Halt who goes there?
(visitors should type their name here)
joe
[sentry] Hello, joe
[client] Hello officer.
[sentry] You may not pass! Leave immediately or else...
[client] OK I am outta here!
===============================================================================
[client] creating client side to connect new socket #2...
[sentry] Announcement: the sentry watch is present and standing guard.
[client] (no response)
[sentry] Halt who goes there?
(visitors should type their name here)
don
[sentry] Hello, don
[client] Hello officer.
[sentry] You may not pass! Leave immediately or else...
[client] OK I am outta here!
===============================================================================
[client] creating client side to connect new socket #3...
[sentry] Announcement: the sentry watch is present and standing guard.
[client] (no response)
[sentry] Halt who goes there?
(visitors should type their name here)
Don
[sentry] Hello, Don
[client] Hello officer.
[sentry] You may pass, have a great MOVES day!
[client] Thank you officer.
===============================================================================
[client] creating client side to connect new socket #4...
[sentry] Announcement: the sentry watch is present and standing guard.
[client] (no response)
[sentry] Halt who goes there?
(visitors should type their name here)
exit
[client] Exiting the program.
BUILD SUCCESSFUL (total time: 32 seconds)
----------
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