TZAbstractNotification Class Reference

Implements Abstract Database notification. More...

Inheritance diagram for TZAbstractNotification:

TInterfacedObject IZNotification

List of all members.

Public Member Functions

string CheckEvents ()
 Checks for any pending events.
 DoNotify ()
 Sends a notification string.
IZConnection GetConnection ()
 Returns the Connection object that produced this Statement object.
string GetEvent ()
 Gets an event name.
 Listen ()
 Sets a listener to the specified event.
 TZAbstractNotification (IZConnection Connection, string EventName)
 Creates this object and assignes the main properties.
 Unlisten ()
 Removes a listener to the specified event.

Protected Attributes

IZConnection Connection
string EventName

Private Attributes

IZConnection FConnection
string FEventName


Detailed Description

Implements Abstract Database notification.

Definition at line 394 of file ZDbcConnection.pas.


Constructor & Destructor Documentation

TZAbstractNotification::TZAbstractNotification ( IZConnection  Connection,
string  EventName 
)

Creates this object and assignes the main properties.

Parameters:
Connection a database connection object.
EventName a name of the SQL event.

Definition at line 1400 of file ZDbcConnection.pas.


Member Function Documentation

string TZAbstractNotification::CheckEvents (  ) 

Checks for any pending events.

Returns:
a string with incoming events??

Reimplemented from IZNotification.

Definition at line 1447 of file ZDbcConnection.pas.

TZAbstractNotification::DoNotify (  ) 

Sends a notification string.

Reimplemented from IZNotification.

Definition at line 1458 of file ZDbcConnection.pas.

IZConnection TZAbstractNotification::GetConnection (  ) 

Returns the Connection object that produced this Statement object.

Returns:
the connection that produced this statement

Reimplemented from IZNotification.

Definition at line 1470 of file ZDbcConnection.pas.

string TZAbstractNotification::GetEvent (  ) 

Gets an event name.

Returns:
an event name for this notification.

Reimplemented from IZNotification.

Definition at line 1415 of file ZDbcConnection.pas.

TZAbstractNotification::Listen (  ) 

Sets a listener to the specified event.

Reimplemented from IZNotification.

Definition at line 1426 of file ZDbcConnection.pas.

TZAbstractNotification::Unlisten (  ) 

Removes a listener to the specified event.

Reimplemented from IZNotification.

Definition at line 1436 of file ZDbcConnection.pas.


Member Data Documentation

See also:
FConnection For reading

FConnection For writing

Definition at line 408 of file ZDbcConnection.pas.

See also:
FEventName For reading

FEventName For writing

Definition at line 405 of file ZDbcConnection.pas.

Definition at line 401 of file ZDbcConnection.pas.

Definition at line 399 of file ZDbcConnection.pas.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:47 2009 for zeoslib by  doxygen 1.5.7.1