Package org.gearman.client
Interface GearmanIOEventListener
-
- All Known Implementing Classes:
GearmanJobServerSession
,GearmanTask
public interface GearmanIOEventListener
A GearmanIOEventListener receives notifications as events are sent from the Gearman Job Server to a particularGearmanJob
. When the job receives an event, it passes itself to all registered listeners and executes the appropriate method,thereby giving the listener a chance to handle the event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleGearmanIOEvent(GearmanPacket event)
The method to be called when an event has occurred.
-
-
-
Method Detail
-
handleGearmanIOEvent
void handleGearmanIOEvent(GearmanPacket event) throws IllegalArgumentException
The method to be called when an event has occurred.- Parameters:
event
- The fired event.- Throws:
IllegalArgumentException
-
-