Create a testclient each participating user starts.
The testclient is distributed together with the ice-adapter.
The testclient has the following features:
connects to the testserver and waits for commands
start the ice-adapter
act as a gpgnetclient to imitate the game for the ice-adapter
create an UDP lobbysocket for P2P data to imitate the game for the ice-adapter
track pings on the lobbysocket for P2P testing
The corresponding testserver has the following feature:
login command to track user ids and usernames
reconnect command to reattach to an existing id on connection loss, needed for the reconnect feature
master command to give clients more privileges
sendToPlayer command to send commands to testclients
players command to get the list of connected testclients
onMasterEvent to send testclient data like logs to the master
Now create a test application, which is able to command each client into a state where they start pinging each other.
Create a testclient each participating user starts. The testclient is distributed together with the ice-adapter. The testclient has the following features:
The corresponding testserver has the following feature:
login
command to track user ids and usernamesreconnect
command to reattach to an existing id on connection loss, needed for the reconnect featuremaster
command to give clients more privilegessendToPlayer
command to send commands to testclientsplayers
command to get the list of connected testclientsonMasterEvent
to send testclient data like logs to the masterNow create a test application, which is able to command each client into a state where they start pinging each other.