pascalSCADA OPM: commtypes: Interface IPortDriverEventNotification

Pascal SCADA OPM

Interface IPortDriverEventNotification

Unit

commtypes

Declaration

type IPortDriverEventNotification = interface(IInterface)

Description

: Event notification interface for protocol drivers.

Attributes
GUID['{26B0F551-5B46-49D9-BCA1-AD621B3775CF}']

Hierarchy

  • IInterface
  • IPortDriverEventNotification

Overview

Methods

Public function GetPortOpenedEvent:TNotifyEvent;
Public function GetPortClosedEvent:TNotifyEvent;
Public function GetPortDisconnectedEvent:TNotifyEvent;
Public function NotifyThisEvents:TNotifyThisEvents;
Public procedure DoPortOpened(Sender: TObject);
Public procedure DoPortClosed(Sender: TObject);
Public procedure DoPortDisconnected(Sender: TObject);
Public procedure DoPortRemoved(Sender:TObject);

Description

Methods

Public function GetPortOpenedEvent:TNotifyEvent;

: Returns the event to be called when communication port opens.

Public function GetPortClosedEvent:TNotifyEvent;

: Returns the event to be called when communication port closed.

Public function GetPortDisconnectedEvent:TNotifyEvent;

: Returns the event to be called when communication port is disconnected.

Public function NotifyThisEvents:TNotifyThisEvents;

: Set of events that the protocol driver wants be notified.

See also
TPortEvents
TNotifyThisEvents
Public procedure DoPortOpened(Sender: TObject);

: Procedure called when the communication port opens.

Public procedure DoPortClosed(Sender: TObject);

: Procedure called when the communication port was closed.

Public procedure DoPortDisconnected(Sender: TObject);

: Procedure called when the communication port was disconnected.

Public procedure DoPortRemoved(Sender:TObject);

: Procedure called when the communication port has been destroied.


Generated by PasDoc 0.14.0.