Documentation of 'com.jstatcom.engine.PCallAdapter' Java class
PCallAdapter
com.jstatcom.engine

Class PCallAdapter

  • All Implemented Interfaces:
    PCallListener, java.util.EventListener


    public abstract class PCallAdapter
    extends java.lang.Object
    implements PCallListener
    An empty convenience implementation of PCallListener.
    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
      void finished(PCall pc)
      Invoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.
      void queued(PCall pc)
      Invoked when a procedure was queued in the main worker thread.
      void started(PCall pc)
      Invoked when the procedure's run method was called within the main worker thread.
      void success()
      Invoked when a procedure finished successfully and was not interrupted.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PCallAdapter

        public PCallAdapter()
    • Method Detail

      • finished

        public void finished(PCall pc)
        Description copied from interface: PCallListener
        Invoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.
        Specified by:
        finished in interface PCallListener
        Parameters:
        pc - the calling object
      • queued

        public void queued(PCall pc)
        Description copied from interface: PCallListener
        Invoked when a procedure was queued in the main worker thread.
        Specified by:
        queued in interface PCallListener
        Parameters:
        pc - the calling object
      • started

        public void started(PCall pc)
        Description copied from interface: PCallListener
        Invoked when the procedure's run method was called within the main worker thread.
        Specified by:
        started in interface PCallListener
        Parameters:
        pc - the calling object
      • success

        public void success()
        Description copied from interface: PCallListener
        Invoked 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 using finished plus checking the source call for success.
        Specified by:
        success in interface PCallListener

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.