|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sysmgt.sdk.remote.LoginSession
This is a connection to the Director Server is models the concept of a Director Console login. It is used to send requests to the Director Server and it contains the desired Locale information. The LoginSession is always created by the DirectorServer class.
Constructor Summary | |
---|---|
protected |
LoginSession(DirectorServer manager)
Constructor |
protected |
LoginSession(DirectorServer manager,
java.util.Locale locale)
Constructor |
Method Summary | |
---|---|
Call |
createCall()
createCall |
void |
endSession()
endSession endSession is called when the client code is finished making requests to the Director Server |
java.util.Locale |
getLocale()
getLocale |
DirectorServer |
getManager()
getManager |
abstract boolean |
isActive()
|
void |
printDebugMessages()
printDebugMessages |
java.lang.Object |
remoteSdkRequest(java.lang.String string,
java.lang.String string2)
remoteSdkRequest |
java.lang.Object |
remoteSdkRequest(java.lang.String string,
java.lang.String string2,
java.lang.Object object)
remoteSdkRequest |
boolean |
sendCommand(Command command)
sendCommand |
void |
setLocale(java.util.Locale locale)
Deprecated. This method should not be called. Call createLoginSession() with new locale |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected LoginSession(DirectorServer manager)
manager
- protected LoginSession(DirectorServer manager, java.util.Locale locale)
manager
- locale
- Method Detail |
public void endSession()
public abstract boolean isActive() throws ServerCommunicationException
ServerCommunicationException
public DirectorServer getManager()
public boolean sendCommand(Command command) throws ServerCommunicationException
ServerCommunicationException
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale
- public java.lang.String toString()
public Call createCall()
public java.lang.Object remoteSdkRequest(java.lang.String string, java.lang.String string2) throws ServerCommunicationException, RequestFailedException
string
- string2
-
ServerCommunicationException
RequestFailedException
public java.lang.Object remoteSdkRequest(java.lang.String string, java.lang.String string2, java.lang.Object object) throws ServerCommunicationException, RequestFailedException
string
- string2
- object
-
ServerCommunicationException
RequestFailedException
public void printDebugMessages()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |