public ItemInfo(FullTableManager enclosingInstance, int pos, string name) { this.enclosingInstance = enclosingInstance; this.pos = pos; this.name = name; this.snapshotPending = enclosingInstance.baseInfo.snapshot; }
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; } }
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); }
internal VirtualTableManager(ExtendedTableInfo table, IFastItemsListener listener) { this.managerWithListener = null; this.extListener = null; this.fastListener = null; this.table = table; this.fastListener = listener; }
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); }
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; }
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); }
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; }
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; } }
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; }