public MockServer()
{
client = null;
//RandomStringGenerator generator = new RandomStringGenerator();
/*string id1 = string.Empty, id2 = string.Empty;
int count = 0;
while(id1 == id2)
{
if (count > 1000)
throw new Exception("ClientIDの発行に失敗しました.");
id1 = generator.Generate(128);
id2 = generator.Generate(128);
count++;
}*/
//client.PostClientId(generator.Generate(128));
client.OnConected();
}