com.jstatcom.engine
Class PCallAdapter
- java.lang.Object
-
- com.jstatcom.engine.PCallAdapter
-
- All Implemented Interfaces:
- PCallListener, java.util.EventListener
public abstract class PCallAdapter extends java.lang.Object implements PCallListener
An empty convenience implementation ofPCallListener.- See Also:
PCall,PCallListener
-
-
Constructor Summary
Constructors Constructor and Description PCallAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidfinished(PCall pc)Invoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.voidqueued(PCall pc)Invoked when a procedure was queued in the main worker thread.voidstarted(PCall pc)Invoked when the procedure's run method was called within the main worker thread.voidsuccess()Invoked when a procedure finished successfully and was not interrupted.
-
-
-
Method Detail
-
finished
public void finished(PCall pc)
Description copied from interface:PCallListenerInvoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.- Specified by:
finishedin interfacePCallListener- Parameters:
pc- the calling object
-
queued
public void queued(PCall pc)
Description copied from interface:PCallListenerInvoked when a procedure was queued in the main worker thread.- Specified by:
queuedin interfacePCallListener- Parameters:
pc- the calling object
-
started
public void started(PCall pc)
Description copied from interface:PCallListenerInvoked when the procedure's run method was called within the main worker thread.- Specified by:
startedin interfacePCallListener- Parameters:
pc- the calling object
-
success
public void success()
Description copied from interface:PCallListenerInvoked when a procedure finished successfully and was not interrupted. This method is a convenience implementation, because it is the most common case. The functionality is the same as usingfinishedplus checking the source call for success.- Specified by:
successin interfacePCallListener
-
-
DMelt 3.0 © DataMelt by jWork.ORG