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