Modulus Financial Engineering HomeModulus Financial Engineering
RMD Server™

 

Connection Object

The Connection object serves as both the Client and the Server. Depending on the permission type you log in with, any instance of the Connection object can be used as a server to insert data into tables and rebroadcast to all connected and authenticated clients. Other instances of this same object can be used as a client to retrieve historic data (10 second bars, 5 min bars, daily bars, etc.) and subscribe to real time updates. If you are deploying RMD Server™ as a Desktop solution, you will generally have only one or two Server Connection objects, and only one Client Connection object at any one time:

Desktop Configuration

       

 

If you are deploying RMD Server™ as an Enterprise solution, you will generally have multiple Server Connection objects and multiple Client Connection objects at once.

 

Enterprise Configuration

  

 

 

Public Methods

Public PropertyLogin Authenticates the RMD Server Connection object
Public PropertyLogout Logs the user account of of RMD Server
Public PropertySubscribe Subscribes the client to a specific symbol
Public PropertyUnSubscribe UnSubscribes the client from a specific symbol (see Subscribe)
Public PropertyTableExists Finds a table based on selection
Public PropertyCreateTickTable CreateTickTable creates a tick table (see also CompressTicks)
Public PropertyDropTable DropTable drops (deletes) a table
Public PropertyTruncateTable Truncates a table
Public PropertyCompressTicks Compresses a tick table into a bar table
Public PropertyGetFieldCount  GetFieldCount returns the total number of fields in a table
Public PropertyGetFieldType Returns the field data type
Public PropertyGetFieldLength Returns the length of a field in bytes
Public PropertyGetFieldName Returns a field name
Public PropertyGetRecordNumber GetRecordNumber returns the record number based on date
Public PropertyGetRecordCount Returns a table's record count
Public PropertyUpdate Appends a new value to the end of a table or edits an existing field's value
Public PropertyReadByDate Returns a variant field value by date
Public PropertyReadByRecord Returns a variant field value by record
Public PropertyAddUserAccount Adds a user account (requires ptSuperAdmin)
Public PropertyEditUserAccount Edits a user's account (requires ptSuperAdmin)
Modifies password and symbol groups (groups separated by comma)
Public PropertyRemoveUserAccount Removes a user's account (requires ptSuperAdmin)
Public PropertyAddSymbol Adds a symbol to a symbol group (requires ptSuperAdmin)
Public PropertyRemoveSymbol Removes a symbol from a symbol group (requires ptSuperAdmin)
Public PropertyListAllSymbols Lists all symbols and groups
Public PropertyListAllUsers Lists all users (requires ptSuperAdmin)

 


Public Events

Public PropertyUpdate Fires when real time data becomes available (broadcasted by the Server Connection object)
Public PropertyListUserAccount Lists a user's account (see ListAllUsers, requires ptSuperAdmin)
Public PropertyListSymbol Lists a symbol (see ListAllSymbols)

 

 


Copyright © 2002 to 2005 Modulus Financial Engineering, Inc. All Rights Reserved. http://www.modulusfe.com