public PullFixture() { Pull = new MessagePuller(9101); Handler = new TestPullHandler(); Pull.SetReceiveHandleEvent(Handler); Pull.Listen(); }
public void PushPull() { var pull = new MessagePuller(9100); pull.SetReceiveHandleEvent(new TestPullHandler()); pull.Listen(); var Push = new MessagePusher("localhost", 9100); pull.Close(); Push.Close(); }