public class LunaSession
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
LunaSession(int slot)
Create a session on the specified slot.
|
Modifier and Type | Method and Description |
---|---|
void |
Free()
Frees the session.
|
int |
GetSessionHandle()
Gets the session handle.
|
int |
getSlot()
Gets the slot number that this session was opened on.
|
boolean |
StillValid()
Checks if the session is still valid.
|
protected LunaSession(int slot)
slot
- The slot to open the session onpublic void Free()
This method is functionally equivalent to LunaSessionManager.free(LunaSession)
public int GetSessionHandle()
LunaException
- If the session is marked invalidpublic boolean StillValid()
public int getSlot()
Copyright 2014-2018 SafeNet. All rights reserved.