예제 #1
0
 public ChannelServer(PresentationBuilder <TContract> channelBuilder, IChannelListener <TChannel> listener)
 {
     _connectionBuilder = channelBuilder;
     Listener           = listener;
     Listener.Accepted += _listener_Accepted;
 }
예제 #2
0
 public ConnectionBuilder(PresentationBuilder <TContract> contractBuilder, Func <TChannel> channelFactory)
 {
     _contractBuilder = contractBuilder;
     _channelFactory  = channelFactory;
 }