Exemplo n.º 1
0
        public UnixClientTransportSink(string url)
        {
            string str;

            this._path = UnixChannel.ParseUnixURL(url, out str);
        }
Exemplo n.º 2
0
        public UnixClientTransportSink(string url)
        {
            string objectUri;

            _path = UnixChannel.ParseUnixURL(url, out objectUri);
        }
Exemplo n.º 3
0
 public string Parse(string url, out string objectURI)
 {
     return(UnixChannel.ParseUnixURL(url, out objectURI));
 }
Exemplo n.º 4
0
	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);
		}
	}