public class MaapiUserSession extends Object
Maapi.getUserSession(int) method.| Constructor and Description | 
|---|
MaapiUserSession(ConfETuple usess)
Internally used constructor 
 | 
MaapiUserSession(int lmode,
                ConfETuple usess)
Internally used constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getContext()
Get User session context, one of
 "cli" | "webui" | "netconf" | "noaaa" | any MAAPI string 
 | 
InetAddress | 
getIPAddress()
Get user session ip address as java InetAddress instance 
 | 
Date | 
getLoginTime()
Get user session login time 
 | 
MaapiUserSessionFlag | 
getSessionFlags()
Get User session protocol 
 | 
String | 
getSnmpV3Context()
Get snmpv3 context if available 
 | 
String | 
getUser()
Get user name 
 | 
int | 
getUserId()
Get user session id 
 | 
String | 
toString()  | 
public MaapiUserSession(ConfETuple usess) throws MaapiException
usess - MaapiExceptionpublic MaapiUserSession(int lmode,
                        ConfETuple usess)
                 throws MaapiException
lmode - usess - MaapiExceptionpublic String getUser()
public String getContext()
public MaapiUserSessionFlag getSessionFlags()
public InetAddress getIPAddress()
public int getUserId()
public Date getLoginTime()
public String getSnmpV3Context()