|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.essbase.server.EssSessionPrimitives
public final class EssSessionPrimitives
This class provides the primitive operations for an Essbase Session Object. In the current implementation, no instances of this class should ever be instantiated.
EssSession, EssSessionMessage| Method Summary | |
|---|---|
static boolean |
connect(ISession session)Connects an EssSession object to the server by calling the appropriate MaxL commands. |
static ISession |
create(java.lang.String sessionType, java.lang.String serverName)Instantiates an EssSession object tied to the requested server |
static boolean |
disconnect(ISession session)Determines that the sessionparameter is of the appropriate type, then calls MaxL. |
static java.util.ArrayList |
getMessages(ISession session)Retrieves the MaxL messages for the given session. |
static boolean |
isConnected(ISession session)Determines that the session parameter is of the appropriate type, then calls MaxL. |
static boolean |
isValidConnection(ContextHandle contextHandle) |
static boolean |
isValidConnection(EssSession session)Validates whether a connection is still valid by checking the ContextHandle |
static boolean |
reconnect(ISession session)Determines that the session parameter is of the appropriate type, then calls MaxL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ISession create(java.lang.String sessionType,
java.lang.String serverName)
sessionType - the type of session being requested.serverName - the server name the user is requesting a connection for.###
public static boolean connect(ISession session)
throws java.lang.Exception
session - Session object; must be of type EssSessionjava.lang.Exception
public static boolean reconnect(ISession session)
throws java.lang.Exception
session - Session object; must be of type EssSessionjava.lang.Exceptionpublic static boolean isConnected(ISession session)
Warning(###):This method needs to be fixed as soon as MaxL supports this functionality.
session - Session object; must be of type EssSessionpublic static boolean disconnect(ISession session)
session - Session object; must be of type EssSessionpublic static boolean isValidConnection(EssSession session)
public static boolean isValidConnection(ContextHandle contextHandle)
public static java.util.ArrayList getMessages(ISession session)
session - Session object; must be of type EssSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||