Ejemplo n.º 1
0
 public UserQueue (QueueBufferFor who)
     : base()
 {
     //this is a queue for of user ids, so the value COMMENT, which will make the queue store status ids, is not allowed, default value USER_INFO will be used.
     if(who==QueueBufferFor.COMMENT)
         lstWaitingIDInDB = new QueueBuffer( QueueBufferFor.USER_INFO );
     else
         lstWaitingIDInDB = new QueueBuffer(who);
 }
Ejemplo n.º 2
0
 public UserQueue(QueueBufferFor who)
     : base()
 {
     //this is a queue for of user ids, so the value COMMENT, which will make the queue store status ids, is not allowed, default value USER_INFO will be used.
     if (who == QueueBufferFor.COMMENT)
     {
         lstWaitingIDInDB = new QueueBuffer(QueueBufferFor.USER_INFO);
     }
     else
     {
         lstWaitingIDInDB = new QueueBuffer(who);
     }
 }
Ejemplo n.º 3
0
 ///构造函数
 ///<param name="target">要操作的目标</param>
 public QueueBuffer(QueueBufferFor target)
 {
     _target = target;
 }
Ejemplo n.º 4
0
 ///构造函数
 ///<param name="target">要操作的目标</param>
 public QueueBuffer(QueueBufferFor target)
 {
     _target = target;
 }