public class SMSSender extends InterfaceBWebsideController implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_receiveURI |
static java.lang.String |
_sendURI |
_ibCache, _interfaceBClient, _logger, _report, engineLogonName, engineLogonPassword, XSD_ANYURI_TYPE, XSD_NAMESPACE, XSD_NCNAME_TYPE, XSD_STRINGTYPE| Constructor and Description |
|---|
SMSSender() |
| Modifier and Type | Method and Description |
|---|---|
YParameter[] |
describeRequiredParams()
Override this method if you wish to allow other tools to find out what
input parameters are required for your custom YAWL service to work.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override this method to provide a welcome screen for your Custom YAWL Service
For instance you could redirect to a JSP or just write typical
servlet doGet() code inside your subclass.
|
java.util.List |
getCompletedInteractions() |
void |
handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
By implementing this method and deploying a web app containing the implementation
the YAWL engine will send events to this method notifying your custom
YAWL service that an active work item has been cancelled by the
engine.
|
void |
handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
Checks the work item out of the engine, sends an sms message, and
starts the thread that checks for a reply.
|
static void |
main(java.lang.String[] args) |
void |
run() |
void |
setSMSUsernameAndPassword(java.lang.String username,
java.lang.String password) |
checkConnection, checkInWorkItem, checkInWorkItem, checkInWorkItem, checkOut, checkOutAllInstancesOfThisTask, connect, destroy, getAuthenticationConfig, getCachedWorkItem, getChildren, getEngineStoredWorkItem, getIBCache, getModel, getResourcingSpecs, getSpecificationData, getSpecificationData, getSpecificationPrototypesList, getTaskInformation, getTaskInformation, handleCancelledCaseEvent, handleCaseResumedEvent, handleCaseSuspendedEvent, handleCaseSuspendingEvent, handleCompleteCaseEvent, handleDeadlockedCaseEvent, handleEngineInitialisationCompletedEvent, handleStartCaseEvent, handleTimerExpiryEvent, handleWorkItemStatusChangeEvent, logContactError, prepareReplyRootElement, setEngineLogonName, setEngineLogonPassword, setRemoteAuthenticationDetails, setUpInterfaceBClient, successfulpublic static java.lang.String _sendURI
public static java.lang.String _receiveURI
public void handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
handleEnabledWorkItemEvent in class InterfaceBWebsideControllerenabledWorkItem - public YParameter[] describeRequiredParams()
InterfaceBWebsideControllerdescribeRequiredParams in class InterfaceBWebsideControllerpublic void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
InterfaceBWebsideControllerdoGet in class InterfaceBWebsideControllerreq - the requestresp - the response.javax.servlet.ServletException - if the request for the GET could not be handledjava.io.IOException - if an error is detected when the servlet handles the GET requestpublic void handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
handleCancelledWorkItemEvent in class InterfaceBWebsideControllerworkItemRecord - a "snapshot" of the work item cancelled in
the engine.public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void run()
run in interface java.lang.Runnablepublic void setSMSUsernameAndPassword(java.lang.String username,
java.lang.String password)
public java.util.List getCompletedInteractions()
Copyright © 2004-2014 The YAWL Foundation.