org.asteriskjava.pbx.Activity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
The newest version!
package org.asteriskjava.pbx;
public interface Activity {
/**
* If an activity fails the getLastError contains a description of the cause
* of the error. This method should be called from the 'complete' method of
* the iCallBack listener.
*
* @return error message which caused the activity to fail.
*/
Throwable getLastException();
/**
* Set to true once the activity has suceeded.
*
* @return
*/
boolean isSuccess();
}