Modifica

Condividi tramite


IRtdServer Interface

Definition

Represents an interface for a real-time data server.

public interface class IRtdServer
[System.Runtime.InteropServices.Guid("EC0E6191-DB51-11D3-8F3E-00C04F3651B8")]
public interface IRtdServer
Public Interface IRtdServer
Attributes

Remarks

The IRTDServer object can be instantiated or created only by implementing the IRTDServer interface using the Implements keyword.

Methods

ConnectData(Int32, Array, Boolean)

Adds new topics from a real-time data server. The ConnectData method is called when a file is opened that contains real-time data functions or when a user types in a new formula which contains the RTD function.

DisconnectData(Int32)

Notifies a real-time data (RTD) server application that a topic is no longer in use.

Heartbeat()

Determines if the real-time data server is still active. Zero or a negative number indicates failure; a positive number indicates that the server is active.

RefreshData(Int32)

This method is called by Microsoft Excel to get new data.

ServerStart(IRTDUpdateEvent)

The ServerStart method is called immediately after a real-time data server is instantiated. Negative value or zero indicates failure to start the server; positive value indicates success.

ServerTerminate()

Terminates the connection to the real-time data server.

Applies to