private TransactionFramework.DeleteNodeTransactionLink CreateNodeDeletionTransaction(DelayedNodeAction action)
        {
            TransactionFramework.DeleteNodeTransactionLink deleteTransaction = null;

            if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete)
            {
                deleteTransaction = new TransactionFramework.DeleteNodeTransactionLink();
                deleteTransaction.DomainId = NodeContext.DomainId;
                deleteTransaction.MapManager = NodeContext.MapManager;
                deleteTransaction.Node = NodeContext.Facade;
            }

            return deleteTransaction;
        }
        private TransactionFramework.UpdateNodeTransactionLink CreateNodeUpdatedTransaction(DelayedNodeAction action)
        {
            TransactionFramework.UpdateNodeTransactionLink updateTransaction = null;

            if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete)
            {
                updateTransaction = new TransactionFramework.UpdateNodeTransactionLink();
                updateTransaction.DomainId = NodeContext.DomainId;
                updateTransaction.MapManager = NodeContext.MapManager;
                updateTransaction.Node = NodeContext.Facade;
                updateTransaction.NodeType = action.NodeType;
            }

            return updateTransaction;
        }
Exemple #3
0
        private TransactionFramework.UpdateNodeTransactionLink CreateNodeUpdatedTransaction(DelayedNodeAction action)
        {
            TransactionFramework.UpdateNodeTransactionLink updateTransaction = null;

            if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete)
            {
                updateTransaction            = new TransactionFramework.UpdateNodeTransactionLink();
                updateTransaction.DomainId   = NodeContext.DomainId;
                updateTransaction.MapManager = NodeContext.MapManager;
                updateTransaction.Node       = NodeContext.Facade;
                updateTransaction.NodeType   = action.NodeType;
            }

            return(updateTransaction);
        }
Exemple #4
0
        private TransactionFramework.DeleteNodeTransactionLink CreateNodeDeletionTransaction(DelayedNodeAction action)
        {
            TransactionFramework.DeleteNodeTransactionLink deleteTransaction = null;

            if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete)
            {
                deleteTransaction            = new TransactionFramework.DeleteNodeTransactionLink();
                deleteTransaction.DomainId   = NodeContext.DomainId;
                deleteTransaction.MapManager = NodeContext.MapManager;
                deleteTransaction.Node       = NodeContext.Facade;
            }

            return(deleteTransaction);
        }
Exemple #5
0
 public void Enqueue(DelayedNodeAction action)
 {
     QueuedActions.Enqueue(action);
 }
 public void Enqueue(DelayedNodeAction action)
 {
     QueuedActions.Enqueue(action);
 }