Beispiel #1
0
 public void RegisterPullHandler(string context, IPullHandler handler)
 {
     lock (_handlers)
     {
         _handlers.Add(context, handler);
     }
 }
Beispiel #2
0
 public void RegisterPullHandler(string context, IPullHandler handler)
 {
     lock (_handlers)
     {
         _handlers.Add(context, handler);
     }
 }
Beispiel #3
0
 /// <summary>
 /// set up custom event processor to handle receive event from pull socket
 /// </summary>
 /// <param name="pullHandler">custom receive handler</param>
 public void SetReceiveHandleEvent(IPullHandler pullHandler)
 {
     _pullHandler = pullHandler;
 }