|
|||||||||
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
Monitors queues. This example uses a GUI application to show how to monitor queues (QILQueue objects):
OpenMediaSdkData
makes various configuration data available to
the Queued Interaction Java Library code examples.OpenMediaSdkGui
creates the common graphical user interface
used by the code examples.SimpleConnector
connects code examples to Configuration Layer and Interaction Server.SimpleService
gets and displays the connected services, and the
list of queues available, in the Configuration Layer.
- com.genesyslab.omsdk.qil.applicationblocks.monitoring.getters.GetQueue
- com.genesyslab.omsdk.qil.applicationblocks.monitoring.listeners.StartMonitoringQueue
- com.genesyslab.omsdk.qil.applicationblocks.monitoring.listeners.MyQueueListener
Nested Class Summary | |
class |
SimpleMonitorQueue.SelectedQueueListener
Monitors the user selection in the Queues table.
|
Constructor Summary | |
SimpleMonitorQueue(java.lang.String windowTitle)
Creates an instance of SimpleMonitorQueue . |
Method Summary | |
QILQueue |
getQueue(java.lang.String queueID)
Retrieves a QILQueue instance.
|
void |
handleQueueEvent(QILQueueEvent event)
Receives QILQueueEvent events, which report changes in a queue. |
void |
handleQueueSelectionAt(int selectedRow)
Gets the queue object associated with the row selected in the Queues table. |
void |
linkWidgetsToGui()
Links QIL information to GUI components. |
static void |
main(java.lang.String[] args)
|
void |
setExampleType()
Indicates which example is running. |
void |
setQueueWidgets(java.lang.String queueName)
Updates the widgets associated with the selected queue (if needed). |
void |
startMonitoring(java.lang.String queueName)
Starts monitoring a queue. |
void |
stopMonitoring(java.lang.String queueName)
Stops monitoring a queue. |
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 |
Constructor Detail |
public SimpleMonitorQueue(java.lang.String windowTitle)
SimpleMonitorQueue
.
windowTitle
- The title of the GUI window for this example.Method Detail |
public static void main(java.lang.String[] args)
public void setExampleType()
setExampleType
in class SimpleService
public void linkWidgetsToGui()
startButton = sdkGui.startButton;
linkWidgetsToGui
in class SimpleService
public QILQueue getQueue(java.lang.String queueID)
QILQueue
instance.
GetQueue
Application Block's guidelines.
queueID
- ID of the queue.
public void startMonitoring(java.lang.String queueName)
StartMonitoringQueue
Application Block's guidelines.
public void stopMonitoring(java.lang.String queueName)
StartMonitoringQueue
Application Block's guidelines.
public void handleQueueEvent(QILQueueEvent event)
MyQueueListener
Application Block.
public void handleQueueSelectionAt(int selectedRow)
public void setQueueWidgets(java.lang.String queueName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |