Exemplo n.º 1
0
        public static void Start()
        {
            channel = ServerUtilities.GetTcpChannel("Agency" + "Channel", port, 100);
            Instance = new RemoteAgency();
            RemotingServices.Marshal(Instance, "Agency");
            ChannelDataStore store = channel.ChannelData as ChannelDataStore;
            Url = store.ChannelUris[0];
            System.Diagnostics.Trace.WriteLine("RemoteAgency\t listen at:" + Url);

            ProccessGuard.LaunchAgentProcess();
        }
Exemplo n.º 2
0
        public static void Start()
        {
            channel  = ServerUtilities.GetTcpChannel("Agency" + "Channel", port, 100);
            Instance = new RemoteAgency();
            RemotingServices.Marshal(Instance, "Agency");
            ChannelDataStore store = channel.ChannelData as ChannelDataStore;

            Url = store.ChannelUris[0];
            System.Diagnostics.Trace.WriteLine("RemoteAgency\t listen at:" + Url);

            ProccessGuard.LaunchAgentProcess();
        }