public interface INotificationListener
Listeners are called from a background thread which expects to get control back quickly. If a listener is going to perform a potentially time-consuming operation like processing a large document or doing something that may block, such as performing socket IO, it should arrange to do that work in another thread so it can return to its caller quickly.
Modifier and Type | Method and Description |
---|---|
void |
activationMessages(int runNumner,
UC4ObjectName task,
TranslatedMessage[] messages)
This method is called if there is an activation protocol for a task.
|
void |
activityListChanged()
This method is called if the activity list changed.
|
void |
asyncMessage(AsyncMessage message)
This method is called if a new message is available.
|
void |
handleIOException(java.io.IOException e)
This method is called if there was an I/O-error.
|
void |
highestCallOperatorChanged()
This method is called if a notification was added or removed for the current user.
|
void |
processingStarted()
This method is called after the client state has changed to active.
|
void |
processingStopped()
This method is called after the client state has changed to stop.
|
void |
promptInputRequired(int runID)
This method is called if prompt values are required in order to a execute an object.
|
void |
read(Form form)
This method is called when activating an object which requires user input.
|
void |
treeChanged()
This method is called if the tree structure in UC4 has changed.
|
void asyncMessage(AsyncMessage message)
message
- Messagevoid read(Form form)
:READ
in the UC4 documentation.
The request SubmitForm
can be used to send the values to the Server and continue
with the activation of the object.
CancelForm
can be used to cancel the pending form.
This also cancels the action of the object.
form
- Form
formvoid treeChanged()
void activityListChanged()
void highestCallOperatorChanged()
void processingStopped()
void processingStarted()
void activationMessages(int runNumner, UC4ObjectName task, TranslatedMessage[] messages)
runNumner
- RUN# of the tasktask
- Name of the taskmessages
- Array containing the messagesvoid promptInputRequired(int runID)
runID
- Run ID of the Object.void handleIOException(java.io.IOException e)
e
- Exception describing the error