TMGProcClient

Component to connect to the Server and to execute it.

Methods

function Execute(values:array of const):variant;
Executes the server.
procedure Register;virtual;
Registers the client.
procedure UnRegister;virtual;
Unregisters the client.

Properties

property ServerEnabled : boolean
Checks if the server is enabled or not.
property Registered : boolean
Is the Client registered?
property AutoRegister : boolean
Is the client registered automatically?
property ProcName : string
Name of the ProcServer.
property Enabled : boolean
IS the client enabled?

Events

property OnBeforeRegister : TMGRegisterEvent
Called before the registration.
property OnAfterRegister : TNotifyEvent
Called after the registration.
property OnBeforeUnRegister : TMGUnRegisterEvent
Called before the client is unregistered.
property OnAfterUnRegister : TNotifyEvent
Called after the client is unregistered.
property OnCreate : TNotifyEvent
Called when the component is created.
property OnDestroy : TNotifyEvent
Called when the component is destroyed.
property OnGetEnabled : TMGGetEnabledEvent
Use to get a state dependant enabled property.
property OnNotifyEnabled : TMGEnabledEvent
Called when the enabled-property of the server is changed.
property OnNotification : TMGNotifycationEvent
Call when the server notifies his clients.