public ItemInfo(FullTableManager enclosingInstance, int pos, string name)
 {
     this.enclosingInstance = enclosingInstance;
     this.pos             = pos;
     this.name            = name;
     this.snapshotPending = enclosingInstance.baseInfo.snapshot;
 }
예제 #2
0
 internal UpdateInfoImpl(FullTableManager.ItemInfo info, string[] prevState, string[] updEvent, bool isSnapshot)
 {
     this.info = info;
     this.prevState = prevState;
     this.updEvent = updEvent;
     this.isSnapshot = isSnapshot;
 }
 public CommandLogicItemInfo(FullTableManager enclosingInstance, int pos, string name) : base(enclosingInstance, pos, name)
 {
     this.keyStates = new Hashtable();
     if (enclosingInstance.extInfo != null)
     {
         if (enclosingInstance.fieldIndexMap.Contains("key"))
         {
             this.keyIndex = (int)enclosingInstance.fieldIndexMap["key"];
         }
         else
         {
             this.keyIndex = -1;
         }
         if (enclosingInstance.fieldIndexMap.Contains("command"))
         {
             this.commandIndex = (int)enclosingInstance.fieldIndexMap["command"];
         }
         else
         {
             this.commandIndex = -1;
         }
     }
     else
     {
         this.keyIndex     = 0;
         this.commandIndex = 1;
     }
 }
예제 #4
0
 internal VirtualTableManager(ExtendedTableInfo table, IHandyTableListener listener)
 {
     this.managerWithListener = null;
     this.extListener         = null;
     this.fastListener        = null;
     this.table = table;
     this.managerWithListener = new FullTableManager(table, listener, false);
 }
예제 #5
0
 internal VirtualTableManager(ExtendedTableInfo table, IFastItemsListener listener)
 {
     this.managerWithListener = null;
     this.extListener         = null;
     this.fastListener        = null;
     this.table        = table;
     this.fastListener = listener;
 }
예제 #6
0
 internal VirtualTableManager(ExtendedTableInfo table, IHandyTableListener listener)
 {
     this.managerWithListener = null;
     this.extListener = null;
     this.fastListener = null;
     this.table = (ExtendedTableInfo) table.Clone();
     this.managerWithListener = new FullTableManager(table, listener, false);
 }
예제 #7
0
 internal VirtualTableManager(ExtendedTableInfo table, IFastItemsListener listener)
 {
     this.managerWithListener = null;
     this.extListener = null;
     this.fastListener = null;
     this.table = (ExtendedTableInfo) table.Clone();
     this.fastListener = listener;
 }
 internal VirtualTableManager(ExtendedTableInfo table, IExtendedTableListener listener)
 {
     this.managerWithListener = null;
     this.extListener = null;
     this.fastListener = null;
     this.table = table;
     this.extListener = listener;
 }
예제 #9
0
        public virtual Lightstreamer.DotNet.Client.SubscribedTableKey SubscribeTable(SimpleTableInfo table, IHandyTableListener listener, bool commandLogic)
        {
            Lightstreamer.DotNet.Client.SubscribedTableKey key;
            ServerManager connManager = this.ConnManager;
            ITableManager manager2    = new FullTableManager(table, listener, commandLogic);

            try
            {
                key = connManager.SubscrTable(manager2, true);
            }
            catch (PhaseException)
            {
                throw new SubscrException("Connection closed");
            }
            return(key);
        }
예제 #10
0
 public virtual Lightstreamer.DotNet.Client.SubscribedTableKey SubscribeTable(SimpleTableInfo table, IHandyTableListener listener, bool commandLogic)
 {
     Lightstreamer.DotNet.Client.SubscribedTableKey CS$1$0000;
     ServerManager currConnManager = this.ConnManager;
     ITableManager tableInfo = new FullTableManager(table, listener, commandLogic);
     try
     {
         CS$1$0000 = currConnManager.SubscrTable(tableInfo, true);
     }
     catch (PhaseException)
     {
         throw new SubscrException("Connection closed");
     }
     return CS$1$0000;
 }
예제 #11
0
 public ItemInfo(FullTableManager enclosingInstance, int pos, string name)
 {
     this.enclosingInstance = enclosingInstance;
     this.pos = pos;
     this.name = name;
     this.snapshotPending = enclosingInstance.baseInfo.snapshot;
 }
예제 #12
0
 public CommandLogicItemInfo(FullTableManager enclosingInstance, int pos, string name) : base(enclosingInstance, pos, name)
 {
     this.keyStates = new Dictionary<object, string[]>();
     if (enclosingInstance.extInfo != null)
     {
         if (enclosingInstance.fieldIndexMap.Contains("key"))
         {
             this.keyIndex = (int) enclosingInstance.fieldIndexMap["key"];
         }
         else
         {
             this.keyIndex = -1;
         }
         if (enclosingInstance.fieldIndexMap.Contains("command"))
         {
             this.commandIndex = (int) enclosingInstance.fieldIndexMap["command"];
         }
         else
         {
             this.commandIndex = -1;
         }
     }
     else
     {
         this.keyIndex = 0;
         this.commandIndex = 1;
     }
 }
예제 #13
0
 public virtual SubscribedTableKey SubscribeTable(SimpleTableInfo table, IHandyTableListener listener, bool commandLogic)
 {
     SubscribedTableKey key;
     ServerManager connManager = this.ConnManager;
     ITableManager manager2 = new FullTableManager(table, listener, commandLogic);
     try
     {
         key = connManager.SubscrTable(manager2, true);
     }
     catch (PhaseException)
     {
         throw new SubscrException("Connection closed");
     }
     return key;
 }