From 2c8ceb2e951c02ee662e4a66b65bf4e00ec3e77e Mon Sep 17 00:00:00 2001 From: lyr90329 Date: Sun, 10 Aug 2014 11:40:33 +0800 Subject: [PATCH] client xml --- MemcachedClient/src/client.xml | 27 ++++++++++++++++++++ MemcachedClient/src/server/ClientConfig.java | 9 +++++++ 2 files changed, 36 insertions(+) create mode 100644 MemcachedClient/src/client.xml create mode 100644 MemcachedClient/src/server/ClientConfig.java diff --git a/MemcachedClient/src/client.xml b/MemcachedClient/src/client.xml new file mode 100644 index 0000000..79e2449 --- /dev/null +++ b/MemcachedClient/src/client.xml @@ -0,0 +1,27 @@ + + + + 0000 + 127.0.0.1 + 30000 + 127.0.0.1:20000 + + + 0001 + 127.0.0.1 + 30001 + 127.0.0.1:20001 + + + 0002 + 127.0.0.1 + 30002 + 127.0.0.1:20002 + + + 0003 + 127.0.0.1 + 30003 + 127.0.0.1:20003 + + \ No newline at end of file diff --git a/MemcachedClient/src/server/ClientConfig.java b/MemcachedClient/src/server/ClientConfig.java new file mode 100644 index 0000000..d2a5f24 --- /dev/null +++ b/MemcachedClient/src/server/ClientConfig.java @@ -0,0 +1,9 @@ +package server; + +public class ClientConfig +{ + public int id; + public String host; + public int client_port; + public String memcached; +}