///<summary>Return a new instance of DistributedHashTableServer.</summary>
 ///<param name="client">Reference to remote service</param>
 ///<returns>Server Implementation</returns>
 public DistributedHashTableServer NewDistributedHashTableServer(RemoteDistributedHashTableClient client)
 {
     return(new ImplDistributedHashTableServer(client, map));
 }
示例#2
0
 /// <summary>Constructs the ImplDistributedHashTableServer.</summary>
 /// <param name="client">a connection to the client session. Use this to
 /// send a message to the client.</param>
 /// <param name="map"></param>
 public ImplDistributedHashTableServer(RemoteDistributedHashTableClient client, IDictionary <string, object> map)
 {
     this.map = map;
 }