client xml

This commit is contained in:
lyr90329 2014-08-10 11:40:33 +08:00
parent 98567bdc63
commit 2c8ceb2e95
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<clients>
<client>
<id>0000</id>
<host>127.0.0.1</host>
<client_port>30000</client_port>
<memcached>127.0.0.1:20000</memcached>
</client>
<client>
<id>0001</id>
<host>127.0.0.1</host>
<client_port>30001</client_port>
<memcached>127.0.0.1:20001</memcached>
</client>
<client>
<id>0002</id>
<host>127.0.0.1</host>
<client_port>30002</client_port>
<memcached>127.0.0.1:20002</memcached>
</client>
<client>
<id>0003</id>
<host>127.0.0.1</host>
<client_port>30003</client_port>
<memcached>127.0.0.1:20003</memcached>
</client>
</clients>

View File

@ -0,0 +1,9 @@
package server;
public class ClientConfig
{
public int id;
public String host;
public int client_port;
public String memcached;
}