Esempio n. 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(GameServiceClientBase.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_IGameService));
 }
Esempio n. 2
0
 public GameServiceClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(callbackInstance, GameServiceClientBase.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(GameServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.NetTcpBinding_IGameService));
 }
Esempio n. 4
0
 public GameServiceClientBase(System.ServiceModel.InstanceContext callbackInstance) :
     base(callbackInstance, GameServiceClientBase.GetDefaultBinding(), GameServiceClientBase.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NetTcpBinding_IGameService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }