|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.serverstub.SessionData
public class SessionData
The SessionData
is a utility class that contains data related
to an established EPP client/server session.
Constructor Summary | |
---|---|
SessionData()
Constructs a new SessionData instance |
Method Summary | |
---|---|
java.lang.Object |
clone()
Makes a copy of the invoking SessionData object |
java.lang.Object |
getAttribute(java.lang.String aName)
Gets a session attribute by attribute name. |
EPPGreeting |
getGreeting()
Returns the EPPGreeting associated with this session |
EPPLoginCmd |
getLoginCmd()
Gets the EPPLoginCmd used for the authenticated session. |
boolean |
hasLogoutOccured()
Returns the logout state of this session object. |
boolean |
isLoggedIn()
Returns the login state of this session object |
void |
setAttribute(java.lang.String aName,
java.lang.Object aResource)
Sets a session attribute by use an attribute name (key) along with an attribute value. |
void |
setGreeting(EPPGreeting aGreeting)
Sets the greeting that will be sent to clients when they connect |
void |
setLoggedIn(boolean aBool)
Sets the login state of this session object |
void |
setLoginCmd(EPPLoginCmd aLoginCmd)
Sets the EPPLoginCmd used for the authenticated session. |
void |
setLogoutOccured(boolean aBool)
Sets the logout state of this session object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionData()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean hasLogoutOccured()
public void setLogoutOccured(boolean aBool)
aBool
- The new logout statepublic boolean isLoggedIn()
public EPPLoginCmd getLoginCmd()
EPPLoginCmd
used for the authenticated session.
EPPLoginCmd
if set; null
otherwise.public void setLoginCmd(EPPLoginCmd aLoginCmd)
EPPLoginCmd
used for the authenticated session.
aLoginCmd
- EPPLoginCmd
passed by the user for the authenticated session.public void setLoggedIn(boolean aBool)
aBool
- The new login statepublic EPPGreeting getGreeting()
public void setGreeting(EPPGreeting aGreeting)
aGreeting
- The greeting that should be sent.public void setAttribute(java.lang.String aName, java.lang.Object aResource)
aName
- Name of the attributeaResource
- Value of the attributepublic java.lang.Object getAttribute(java.lang.String aName)
aName
- Name of attribute
null
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |