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(); }
public CustomChannel() { BinaryServerFormatterSink formatterSink = new BinaryServerFormatterSink( BinaryServerFormatterSink.Protocol.Http, null, this); transportSink = new TransportSink(formatterSink); priority = 0; dataStore = new ChannelDataStore(null); wantsToListen = true; socket = ""; }