/// <summary> /// Gets a duplex client /// </summary> /// <param name="processID">Process identifier for the server on the host machine.</param> /// <param name="options">Connection Options</param> /// <returns>Client object.</returns> public static IPCDuplexClient GetDuplexClient(InstanceContext context, string processID, ConnectionOptions options, BindingScheme scheme = BindingScheme.NAMED_PIPE) { return new IPCDuplexClient(context, scheme.GetBinding(options), new EndpointAddress(scheme.GetEndpointAddress(processID, options, false))); }
/// <summary> /// Gets a duplex client /// </summary> /// <param name="options">Connection Options</param> /// <returns>Client object.</returns> public static IPCDuplexClient GetDuplexClient(InstanceContext context, IConnectionOptions options, BindingScheme scheme = BindingScheme.NAMED_PIPE) { return(new IPCDuplexClient(context, scheme.GetBinding(options), new EndpointAddress(scheme.GetEndpointAddress(options, false)))); }
/// <summary> /// Gets a basic request response client /// </summary> /// <param name="processID">Process identifier for the server on the host machine.</param> /// <param name="options">Connection Options</param> /// <returns>Client object.</returns> public static IPCClient GetClient(string processID, ConnectionOptions options, BindingScheme scheme = BindingScheme.NAMED_PIPE) { return new IPCClient(scheme.GetBinding(options), new EndpointAddress(scheme.GetEndpointAddress(processID, options, false))); }
/// <summary> /// Gets a basic request response client /// </summary> /// <param name="options">Connection Options</param> /// <returns>Client object.</returns> public static IPCClient GetClient(IConnectionOptions options, BindingScheme scheme = BindingScheme.NAMED_PIPE) { return(new IPCClient(scheme.GetBinding(options), new EndpointAddress(scheme.GetEndpointAddress(options, false)))); }