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