C# 클래스 qXL.qXLRtdServer

상속: ExcelDna.Integration.Rtd.ExcelRtdServer
파일 보기 프로젝트 열기: exxeleron/qXL

보호된 메소드들

메소드 설명
ConnectData ( Topic topic, IList topicInfo, bool &newValues ) : object
DisconnectData ( Topic topic ) : void
ServerTerminate ( ) : void

비공개 메소드들

메소드 설명
AddEmptyId ( string alias, string table, string id ) : void

Adds id to mapping with null value.

GetAliasForConnection ( QConnection qConnection ) : string

Re-maps connection object to its alias.

GetConnection ( string alias ) : qSharp.QCallbackConnection
GetSymbolId ( string alias, string table, string symName ) : string

Gets the subscription id based on symbol. If symbol is not assigned to anything it tries to assign it and returns newly assigned id.

OnUpdate ( object sender, qSharp.QMessageEvent args ) : void

Event triggered by the q process sending data

RemoveSymbolBasedOnId ( string alias, string table, string symId ) : void
RtdClose ( [ alias ) : object
RtdConfigure ( [ paramName, [ paramValue ) : object
RtdOpen ( [ alias, [ hostname, [ port, [ username = null, [ password = null ) : object
RtdSubscribe ( string alias, string tab, string sym ) : object

Extends current subscription bound with connection alias by given sym for given tab.

RtdSubscribeAll ( string alias ) : object

Subscribe entire content of the mapping for given alias.

RtdSubscribeAllTables ( string alias ) : object

Subscribe entire content of the mapping for given alias.

RtdSubscribeTable ( string alias, string tableName ) : object

Subscribe for all symbols from given table

RtdUnsubscribe ( string alias ) : object

Removes given symbol for given table from subscription on the connection bound with given alias.

TryToFillFromCache ( string alias, string tab, int subscriptionId, string col ) : void

Tries to fill cells with data from cache.

UpdateCache ( string alias, string table, qSharp.QTable data ) : void

This function applies data received from Q process to in-memory cache. All operations are structured in a way that only data that has been subscribed is kept, i.e.: data from columns that were not requested is simply discarded.

메소드 상세

ConnectData() 보호된 메소드

protected ConnectData ( Topic topic, IList topicInfo, bool &newValues ) : object
topic Topic
topicInfo IList
newValues bool
리턴 object

DisconnectData() 보호된 메소드

protected DisconnectData ( Topic topic ) : void
topic Topic
리턴 void

ServerTerminate() 보호된 메소드

protected ServerTerminate ( ) : void
리턴 void