|
|||||||||
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
Monitors interactions.
This example activates the interaction list component and displays real-time information for interactions.
This example uses the following application blocks:
Nested Class Summary |
Nested classes inherited from class queued.sdk.java.examples.SimpleMonitorQueue |
SimpleMonitorQueue.SelectedQueueListener |
Constructor Summary | |
SimpleMonitorInteraction(java.lang.String windowTitle)
Creates a SimpleMonitorInteraction instance. |
Method Summary | |
void |
handleInteractionEvent(QILInteractionEvent event)
Manages interaction events to update the interaction table and display the event information in the log panel. |
void |
handleQueueEvent(QILQueueEvent event)
Handles queue events. |
static void |
main(java.lang.String[] args)
|
void |
setExampleType()
Indicates which example is running. |
void |
setIxnWidgets(java.lang.String queueName,
java.util.Collection added,
java.util.Collection removed)
Updates the interaction widgets associated with a queue. |
void |
setQueueWidgets(java.lang.String queueName)
Updates the widgets associated with the selected queue (if needed). |
Methods inherited from class queued.sdk.java.examples.SimpleMonitorQueue |
getQueue, handleQueueSelectionAt, linkWidgetsToGui, 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 |
Constructor Detail |
public SimpleMonitorInteraction(java.lang.String windowTitle)
SimpleMonitorInteraction
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 SimpleMonitorQueue
public void setQueueWidgets(java.lang.String queueName)
setQueueWidgets
in class SimpleMonitorQueue
public void setIxnWidgets(java.lang.String queueName, java.util.Collection added, java.util.Collection removed)
queueName
- the queue.added
- the interactions to be added to the table.removed
- the interaction to be removed from the table.public void handleInteractionEvent(QILInteractionEvent event)
com.genesyslab.omsdk.qil.applicationblocks.monitoring.listeners.MyQILInteractionListener
application block.
com.genesyslab.omsdk.qil.event.QILInteractionListener#handleInteractionEvent(com.genesyslab.omsdk.qil.event.QILInteractionEvent)
public void handleQueueEvent(QILQueueEvent event)
SimpleMonitorQueue.handleQueueEvent()
method to listen the
interaction events of a monitored queue. It also updates the interaction widgets associated with the queue.
handleQueueEvent
in class SimpleMonitorQueue
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |