All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.beans.HOD.event.MacroTickTockEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.eNetwork.beans.HOD.event.HODEvent
                   |
                   +----com.ibm.eNetwork.beans.HOD.event.MacroTickTockEvent

public class MacroTickTockEvent
extends HODEvent
MacroTickTockEvent is fired to MacroTickTockListeners by Macro when it is waiting for a MacroScreen in a given MacroNextScreens object to appear from the host. This event is fired every second until either a screen appears or the Macro bean times out.

See Also:
MacroTickTockListener, Macro

Constructor Index

 o MacroTickTockEvent(Macro, MacroNextScreens, int, int, int)
Constructs a new MacroTickTockEvent object.

Method Index

 o getElapsed()
Returns the number of seconds elapsed for the next screen wait.
 o getNextScreens()
Returns the MacroNextScreens object that contains the MacroScreen objects that the Macro bean is expecting to appear from the host.
 o getRemaining()
Returns the number of seconds remaining for the next screen wait.
 o getTotal()
Returns the total number of seconds used for the next screen wait.

Constructors

 o MacroTickTockEvent
 public MacroTickTockEvent(Macro src,
                           MacroNextScreens mns,
                           int timeTot,
                           int timeElapsed,
                           int timeRemain)
Constructs a new MacroTickTockEvent object.

Methods

 o getNextScreens
 public MacroNextScreens getNextScreens()
Returns the MacroNextScreens object that contains the MacroScreen objects that the Macro bean is expecting to appear from the host.

Returns:
com.ibm.eNetwork.beans.HOD.MacroNextScreens next screens object currently used for the screen wait
 o getTotal
 public int getTotal()
Returns the total number of seconds used for the next screen wait.

Returns:
java.lang.int total seconds for wait
 o getElapsed
 public int getElapsed()
Returns the number of seconds elapsed for the next screen wait.

Returns:
java.lang.int seconds elapsed so far for wait
 o getRemaining
 public int getRemaining()
Returns the number of seconds remaining for the next screen wait.

Returns:
java.lang.int seconds remaining until Macro bean times out

All Packages  Class Hierarchy  This Package  Previous  Next  Index