|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqueued.sdk.java.examples.SimpleService
queued.sdk.java.examples.SimpleMonitorQueue
queued.sdk.java.examples.SimpleMonitorInteraction
queued.sdk.java.examples.SimpleSupervisor
Provides Ad'Hoc Management features.
This example provides perform supervisor actions on interactions available in monitored queues.
Before you perform supervisor actions:
This code example uses the following application blocks:
Nested Class Summary | |
class |
SimpleSupervisor.SelectedInteractionListener
Monitors the user selection in the Queues table.
|
Nested classes inherited from class queued.sdk.java.examples.SimpleMonitorQueue |
SimpleMonitorQueue.SelectedQueueListener |
Field Summary | |
javax.swing.JLabel |
interactionIDLabel
|
javax.swing.JButton |
leaveButton
|
javax.swing.JButton |
lockButton
|
javax.swing.JButton |
modeButton
|
javax.swing.JLabel |
modeLabel
|
javax.swing.JButton |
propButton
|
javax.swing.JTextField |
propNameTextField
|
javax.swing.JTextField |
propValueTextField
|
javax.swing.JButton |
pullButton
|
javax.swing.JButton |
stopProcessingButton
|
javax.swing.JButton |
unlockButton
|
Constructor Summary | |
SimpleSupervisor(java.lang.String windowTitle)
Constructor. |
Method Summary | |
void |
handleInteractionEvent(QILInteractionEvent event)
Manages interaction events to update the interaction property tree when needed. |
void |
handleInteractionSelectionAt(int selectedRow)
Handles the interaction selection in the interaction list. |
void |
handleQueueEvent(QILQueueEvent event)
Handles queue events. |
void |
linkWidgetsToGui()
Links QIL information to GUI components. |
static void |
main(java.lang.String[] args)
|
void |
setExampleType()
Indicates which example is running. |
void |
setIxnPropertiesWidgets(java.lang.String queueName,
java.util.Collection removedInteractions)
Updates interaction information. |
Methods inherited from class queued.sdk.java.examples.SimpleMonitorInteraction |
setIxnWidgets, setQueueWidgets |
Methods inherited from class queued.sdk.java.examples.SimpleMonitorQueue |
getQueue, handleQueueSelectionAt, startMonitoring, stopMonitoring |
Methods inherited from class queued.sdk.java.examples.SimpleService |
handleServiceEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public javax.swing.JButton modeButton
public javax.swing.JLabel modeLabel
public javax.swing.JLabel interactionIDLabel
public javax.swing.JTextField propNameTextField
public javax.swing.JTextField propValueTextField
public javax.swing.JButton propButton
public javax.swing.JButton lockButton
public javax.swing.JButton unlockButton
public javax.swing.JButton pullButton
public javax.swing.JButton leaveButton
public javax.swing.JButton stopProcessingButton
Constructor Detail |
public SimpleSupervisor(java.lang.String windowTitle)
SimpleSupervisor
instance.
windowTitle
- Method Detail |
public void setExampleType()
OpenMediaSdkGui
class which example has called
the GUI, so that OpenMediaSdkGui can determine which widgets will be enabled when the
GUI is created.
setExampleType
in class SimpleMonitorInteraction
public void linkWidgetsToGui()
startButton = sdkGui.startButton;
linkWidgetsToGui
in class SimpleMonitorQueue
public void handleInteractionSelectionAt(int selectedRow)
public void handleInteractionEvent(QILInteractionEvent event)
handleInteractionEvent
in class SimpleMonitorInteraction
com.genesyslab.omsdk.qil.event.QILInteractionListener#handleInteractionEvent(com.genesyslab.omsdk.qil.event.QILInteractionEvent)
public void setIxnPropertiesWidgets(java.lang.String queueName, java.util.Collection removedInteractions)
queueName
- removedInteractions
- public void handleQueueEvent(QILQueueEvent event)
SimpleMonitorQueue.handleQueueEvent()
method to listen the
interaction events of a monitored queue. It also updates the interaction properties widgets associated with the queue.
handleQueueEvent
in class SimpleMonitorInteraction
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |