Exemplo n.º 1
0
        public CustomChannel(int portNum)
        {
            BinaryServerFormatterSink formatterSink =
                new BinaryServerFormatterSink(
                    BinaryServerFormatterSink.Protocol.Http,
                    null,
                    this);

            transportSink = new TransportSink(formatterSink);
            priority      = 0;
            dataStore     = new ChannelDataStore(null);
            wantsToListen = false;
            socket        = "http://localhost:" + portNum.ToString();
        }
Exemplo n.º 2
0
        public CustomChannel()
        {
            BinaryServerFormatterSink formatterSink =
                new BinaryServerFormatterSink(
                    BinaryServerFormatterSink.Protocol.Http,
                    null,
                    this);

            transportSink = new TransportSink(formatterSink);
            priority      = 0;
            dataStore     = new ChannelDataStore(null);
            wantsToListen = true;
            socket        = "";
        }