Exemplo n.º 1
0
        public RemoteTracerClient(TextWriter writer)
        {
            TcpServerChannel channel = new TcpServerChannel(15456);

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

            RemotingServices.Marshal(resumeListener, "RemoteListener");
        }
Exemplo n.º 2
0
 private bool TryGetObject()
 {
     m_ResumeListener = (RemoteListener)Activator.GetObject(typeof(RemoteListener), ListenerUrl);
     return(m_ResumeListener != null);
 }