Skip navigation links


com.essbase.eas.admin.client
Class SessionStatusListener

java.lang.Object
  extended by com.essbase.eas.admin.client.SessionStatusListener

All Implemented Interfaces:
CommandResultListener, java.util.EventListener

public final class SessionStatusListener
extends java.lang.Object
implements CommandResultListener

an instance of this class is used to listen for Session connection results; the command management framework will check this classes entry in the manifest file and create an instance of it, then register the instance to listen for the connection status results.

Since:
7.0.0
Version:
7.0.0
Author:
Scott Rasmussen

Constructor Summary
SessionStatusListener()
           

 

Method Summary
 java.lang.Class[] getCommandStatusClasses()
          Retrieves the types of command status objects this listener is interested in.
static boolean isSessionExiting()
           
static void resetStatus()
           
static void setDisconnecting(boolean isDisconnecting)
           
static void setExiting(boolean isExiting)
           
 void statusReturned(CommandResultEvent e)
          Invoked when a CommandStatus object of the type indicated by this listener is returned as the result of a command.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SessionStatusListener

public SessionStatusListener()

Method Detail

statusReturned

public void statusReturned(CommandResultEvent e)
Description copied from interface: CommandResultListener
Invoked when a CommandStatus object of the type indicated by this listener is returned as the result of a command.
Specified by:
statusReturned in interface CommandResultListener
Parameters:
e - a CommandResultEvent describing the circumstances that caused the method to be invoked.

setDisconnecting

public static void setDisconnecting(boolean isDisconnecting)

setExiting

public static void setExiting(boolean isExiting)

isSessionExiting

public static boolean isSessionExiting()

resetStatus

public static void resetStatus()

getCommandStatusClasses

public java.lang.Class[] getCommandStatusClasses()
Description copied from interface: CommandResultListener
Retrieves the types of command status objects this listener is interested in.
Specified by:
getCommandStatusClasses in interface CommandResultListener
Returns:
an array of class objects that this listener is interested in. Each element must be derived from the CommandStatus class.

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.