Modulus Financial Engineering HomeModulus Financial Engineering
RMD Server™

Connection.Subscribe Method

 

Subscribes a client Connection object to a particular symbol and field so that when a value is updated by the server Connection object in real time, the Update event will fire in the client Connection object.

Return Type

    BOOL

 

Syntax

 Subscribe (BSTR Symbol, BSTR Field)

 

Remarks
The Login method must be used to authenticate a user before this method may be called. Any permission type may be used to subscribe to real time data.

This method returns TRUE if the symbol is allowed, or FALSE if it is not. Allowed symbols for the currently authenticated user may be retrieved via the ListAllSymbols Method and ListSymbol Event.

 

See Also

   UnSubscribe, Login, Connection Object, Login Database, Administration, ListAllSymbols Method, ListSymbol Event