Class: PopListener
Represents a service listener that monitors the email server location.
Constructor
Gets invoked during the email:PopListener
initialization.
init (PopListenerConfiguration listenerConfig)
- listenerConfig PopListenerConfiguration
Methods
'start | Starts the |
attach | Binds a service to the |
detach | Stops consuming messages and detaches the service from the |
immediateStop | Stops the |
gracefulStop | Stops the |
register | Registers for the Email service. |
attach
Isolated Function
Binds a service to the email:PopListener
.
1email:Error? result = emailListener.attach(helloService, hello);
Parameters
- s Service
Type descriptor of the service
detach
Isolated Function
Stops consuming messages and detaches the service from the email:PopListener
.
1email:Error? result = emailListener.detach(helloService);
Parameters
- s Service
Type descriptor of the service