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