public virtual Lightstreamer.DotNet.Client.SubscribedTableKey SubscribeTable(SimpleTableInfo table, ISimpleTableListener listener) { Lightstreamer.DotNet.Client.SubscribedTableKey key; ServerManager connManager = this.ConnManager; ITableManager manager2 = new SimpleTableManager(table, listener); try { key = connManager.SubscrTable(manager2, true); } catch (PhaseException) { throw new SubscrException("Connection closed"); } return(key); }
public virtual SubscribedTableKey SubscribeTable(SimpleTableInfo table, ISimpleTableListener listener) { SubscribedTableKey key; ServerManager connManager = this.ConnManager; ITableManager manager2 = new SimpleTableManager(table, listener); try { key = connManager.SubscrTable(manager2, true); } catch (PhaseException) { throw new SubscrException("Connection closed"); } return key; }