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();
 }
Exemple #2
0
 public MockChannel(EndPoint localEndpoint, MockMessagePump pump)
 {
     LocalEndPoint = localEndpoint;
     Pump          = pump;
 }