예제 #1
0
 public QueuePoolEventArgs(QueuePoolHelper <T> queuePool, T message)
 {
     this.QueuePool = queuePool;
     this.Message   = message;
 }
 public QueuePoolExceptionEventArgs(QueuePoolHelper <T> queuePool, T message, System.Exception exception)
 {
     this.QueuePool = queuePool;
     this.Message   = message;
     this.Exception = exception;
 }
예제 #3
0
 static VarnishxHelper()
 {
     _QueuePoolHelper              = new QueuePoolHelper <VarnishxUrl>(1);
     _QueuePoolHelper.SendMessage += new EventHandler <QueuePoolEventArgs <VarnishxUrl> >(VarnishxHelper._QueuePoolHelper_SendMessage);
     _QueuePoolHelper.StartProcess(3, 0);
 }