Create test client and server utilities

Registered by Sean Ryan

As with the original metaserver, the "TestServer" and "TestClient"

Unlike the original, more options should be available for the utilities:

TestServer Options:
    - ip
    - keepalive interval
    - attributes to register ( something like --attribute="name=value" --attribute="name2=value2" )

TestClient Options:
     - keep alive interval
     - attributes ( same as server )
     - chat sequence ( probably via config file )
       something like --chat-config=foo.txt
       containing something like:
              keepalive
              sleep 10
              listresp
              sleep 10
              terminate
       if no chat sequence is defined, then just perform the default chat sequence, the same as what it does
       in the original ( keep-alive x3, sleep, list, terminate, terminate )

Blueprint information

Status:
Complete
Approver:
Sean Ryan
Priority:
High
Drafter:
Sean Ryan
Direction:
Needs approval
Assignee:
Sean Ryan
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Sean Ryan
Completed by
Sean Ryan

Related branches

Sprints

Whiteboard

sryan@triton:~/wf/dev/worldforge/forge/servers/metaserver-ng$ src/testserver --attribute="server=cyphesis" --attribute="version=0.5.5"
Server : localhost
Port : 8453
KeepAlivesInt: 5
KeepAlives : 5
attribute list == booya
keepalive-interval=5
keepalives=5
port=8453
server=localhost
-------------------------
 register: version
    value: 0.5.5
 register: server
    value: cyphesis
Sleeping between keepalives : 5
Sleeping between keepalives : 5
Sleeping between keepalives : 5
Sleeping between keepalives : 5
Sleeping between keepalives : 5
All Done!

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.