Exemplo n.º 1
0
 public MockEndpoint(MockMessagePump pump, MockStack stack, EndPoint myAddress)
 {
     Outbox  = this;
     Pump    = pump;
     Stack   = stack;
     Matcher = new Matcher(CoapConfig.Default);
     Matcher.Start();
     MyAddress = myAddress;
     Session   = new MockSession();
 }
Exemplo n.º 2
0
 public MockChannel(EndPoint localEndpoint, MockMessagePump pump)
 {
     LocalEndPoint = localEndpoint;
     Pump          = pump;
 }