Device Monitoring Studio Server - TODO
Download Device Monitoring Studio Server Hide this button

_IMonitoringAdminEvents Interface

This interface encapsulates two events generated by monitoring site object. You implement this interface either directly or indirectly by binding to monitoring site object events.

Declaration

// This interface is not available in scripting environment
public interface _IMonitoringAdminEvents : ${IDispatch}
{

    // Methods
    void ${OnConnectionAdded}(${IConnection} connection);
    void ${OnConnectionRemoved}(${IConnection} connection);
}
struct _IMonitoringAdminEvents : IDispatch
{

    // Methods
    HRESULT ${OnConnectionAdded}(${IConnection} connection);
    HRESULT ${OnConnectionRemoved}(${IConnection} connection);
};

_IMonitoringAdminEvents Methods

OnConnectionAdded

// This method is not available in scripting environment
void OnConnectionAdded(${IConnection} connection);
HRESULT OnConnectionAdded(${IConnection} connection);
connection
Reference to new connection object.

This event is generated when new connection is established.

OnConnectionRemoved

// This method is not available in scripting environment
void OnConnectionRemoved(${IConnection} connection);
HRESULT OnConnectionRemoved(${IConnection} connection);
connection
Reference to disconnected connection object.

This event is generated when the connection is disconnected.