Exemplo n.º 1
0
 public void AddFailureHandler(CometClientEventHandler func)
 {
     FailureHandler += func;
 }
Exemplo n.º 2
0
 public void AddTimeoutHandler(CometClientEventHandler func)
 {
     TimeoutHandler += func;
 }
Exemplo n.º 3
0
 // 注册事件处理函数
 public void AddSuccessHandler(CometClientEventHandler func)
 {
     SuccessHandler += func;
 }