public TickTopic(ExcelRtdServer server, int topicId, string msecs) : base(server, topicId, Strings.WAIT) { var period = uint.Parse(msecs); timer = new Timer(Notify, null, 0, period); }
void CreateWrappedServer() { _wrappedServer = (IRtdServer)Activator.CreateInstance(_wrappedServerType); // Would be nice to combine the initialization here and in ExcelRtd.Rtd ... ExcelRtdServer rtdServer = _wrappedServer as ExcelRtdServer; if (rtdServer != null) { rtdServer.RegisteredProgId = _wrappedServerRegisteredProgId; } }
public TriggerTopic(ExcelRtdServer server, int topicId, string path) : base(server, topicId, Strings.WAIT) { Path = path; }
public RealStockTopic(ExcelRtdServer server, int topicId) : base(server, topicId) { }
//TODO: add dynamic type ,maybe decemail,or int public QuoteTopic(ExcelRtdServer server, int topicId) : base(server, topicId) { }
public TestArrayTopic(ExcelRtdServer server, int topicId) : base(server, topicId) { }