コード例 #1
0
        public RemoteTracerClient(TextWriter writer)
        {
            TcpServerChannel channel = new TcpServerChannel(15456);

            ChannelServices.RegisterChannel(channel, false);
            RemoteListener resumeListener = new RemoteListener(writer);

            RemotingServices.Marshal(resumeListener, "RemoteListener");
        }
コード例 #2
0
 private bool TryGetObject()
 {
     m_ResumeListener = (RemoteListener)Activator.GetObject(typeof(RemoteListener), ListenerUrl);
     return(m_ResumeListener != null);
 }