public QueueActions(Session session, JET_DBID dbid, string queueName, string[] subqueues, AbstractActions actions, Action <int> changeNumberOfMessages) { this.session = session; this.queueName = queueName; this.subqueues = subqueues; this.actions = actions; this.changeNumberOfMessages = changeNumberOfMessages; msgs = new Table(session, dbid, queueName, OpenTableGrbit.None); msgsColumns = Api.GetColumnDictionary(session, msgs); msgsHistory = new Table(session, dbid, queueName + "_history", OpenTableGrbit.None); msgsHistoryColumns = Api.GetColumnDictionary(session, msgsHistory); }
public QueueActions(Session session, JET_DBID dbid, string queueName, string[] subqueues, AbstractActions actions, Action<int> changeNumberOfMessages) { this.session = session; this.queueName = queueName; this.subqueues = subqueues; this.actions = actions; this.changeNumberOfMessages = changeNumberOfMessages; msgs = new Table(session, dbid, queueName, OpenTableGrbit.None); msgsColumns = Api.GetColumnDictionary(session, msgs); msgsHistory = new Table(session, dbid, queueName + "_history", OpenTableGrbit.None); msgsHistoryColumns = Api.GetColumnDictionary(session, msgsHistory); }