Tema: Smtp Indy
Ver Mensaje Individual
  #2  
Antiguo 12-02-2004
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Pues vas por buen camino...

OnWorkBegin:

Cita:
Empezado por Indy Help
OnWorkBegin is an event of type TWorkBeginEvent as implemented in TIdComponent. OnWorkBegin is used in conjunction with BeginWork to notify Indy components and classes when buffered read or write operations are initiated. OnWorkBegin is generally used to control the update of progress indicators or GUI components.

AWorkMode indicates the operation performed and the notification sent to OnWorkBegin. AWorkMode can contain one of the following values:

wmRead - The component is reading data from the peer.
wmWrite - The component is sending data to the peer.


AWorkCountMax indicates the maximum number of bytes expected for the operation sent to OnWorkBegin, or 0 when the number of bytes not known.
OnWork:

Cita:
Empezado por Indy Help
OnWork is the event handler for the event TWorkEvent. OnWork is used in conjunction with DoWork to notify Indy components and classes when buffered read or write operations are invoked. OnWork is generally used to control the update of progress indicators or GUI components.

AWorkMode indicates the operation performed and the notification sent to OnWork. AWorkMode can be contain one of the following values:

wmRead - The component is reading data from the peer.
wmWrite - The component is sending data to the peer.


AWorkCount indicates the number of bytes affected by the operation sent to OnWork
OnWorkEnd:

Cita:
Empezado por Indy Help
OnWorkEnd is an event of type TWorkEndEvent as implemented in TIdComponent. OnWorkEnd is used in conjunction with EndWork to notify Indy components and classes when buffered read or write operations are concluded.

AWorkMode indicates the operation performed and the notification sent to OnWork. AWorkMode can contain one of the following values:

wmRead - The component is reading data from the peer.
wmWrite - The component is sending data to the peer.


AWorkCount contains the number of bytes affected by the operation.
Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita