public UnixClientTransportSink(string url) { string str; this._path = UnixChannel.ParseUnixURL(url, out str); }
public UnixClientTransportSink(string url) { string objectUri; _path = UnixChannel.ParseUnixURL(url, out objectUri); }
public string Parse(string url, out string objectURI) { return(UnixChannel.ParseUnixURL(url, out objectURI)); }
public void EnsureInitializeApp () { Console.Error.WriteLine("Ensure Initialize App"); if(requestsGateway == null) { string unixChannelPipePath = Path.GetFullPath (Path.Combine (appFolder, RequestsGateway.ApplicationHostManagerDescriptorFileName)); if(File.Exists(unixChannelPipePath)) { File.Delete(unixChannelPipePath); } UnixChannel devChannel = new UnixChannel (unixChannelPipePath); ChannelServices.RegisterChannel (devChannel, false); requestsGateway = new NginxRequestsGateway (this.appFolder); string objName = RequestsGateway.ApplicationHostManagerDescriptorObjectName; requestsGatewayRef = RemotingServices.Marshal (requestsGateway, objName); Console.Error.WriteLine ("Requests Gateway ({0}) Exposed at {1}",objName, unixChannelPipePath); } }