public class PerformanceData extends VirtualComponentAdapter implements Runnable
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES
Constructor and Description |
---|
PerformanceData(VirtualSessionManager vsm)
Creates the performance data panel and handles it.
|
Modifier and Type | Method and Description |
---|---|
void |
onAction(VirtualPanel vp,
String controlID)
Push buttons and menu items (or pop-up menu items) generates this event when selected
and the original
onAction wasn't processed. |
boolean |
onPanelClose(VirtualPanel vp)
Called when the close button of a panel is pressed.
|
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed,
but before any other processing has been done.
|
void |
onPanelCreate(VirtualPanel vp)
Called to initialize the panel before it is displayed.
|
void |
onPanelDestroy(VirtualPanel vp)
Called to inform the listener that the panel is destroyed.
|
static Transaction |
onPerformanceDataRequest(int waitTime)
This server (a slave) is instructed to create a performance data
transaction and return it.
|
static void |
onSlaveDisconnected(String slave)
The load balancer calls this method when a slave "drops" out
from the controller.
|
static void |
onSlavePerformanceData(String slave,
Transaction trans)
The load balancer calls this method when it receives
a transaction from a slave server.
|
void |
run()
Performs the performance data gathering.
|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChanged
onModalPanelCreate, onModalPanelProcessing, onPageActivated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated
public PerformanceData(VirtualSessionManager vsm)
public static void onSlavePerformanceData(String slave, Transaction trans)
public static Transaction onPerformanceDataRequest(int waitTime)
public static void onSlaveDisconnected(String slave)
public void onPanelCreate(VirtualPanel vp)
onPanelCreate
in interface VirtualPanelListener
onPanelCreate
in class VirtualPanelAdapter
vp
- The panel issuing the event.public boolean onPanelClosing(VirtualPanel vp)
onPanelClose
is called.onPanelClosing
in interface VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
vp
- The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)
public boolean onPanelClose(VirtualPanel vp)
onPanelClose
in interface VirtualPanelListener
onPanelClose
in class VirtualPanelAdapter
vp
- The panel issuing the event.VirtualPanelListener.onPanelClosing(se.entra.phantom.server.VirtualPanel)
public void onPanelDestroy(VirtualPanel vp)
onPanelDestroy
in interface VirtualPanelListener
onPanelDestroy
in class VirtualPanelAdapter
vp
- The panel issuing the event.public void onAction(VirtualPanel vp, String controlID)
onAction
wasn't processed.onAction
in class VirtualComponentAdapter
vp
- The panel issuing the event, parent of the control.controlID
- The control ID issuing the event.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.