Lines Matching defs:id
39 * this class, the id() method to obtain the session id.
52 // session id
53 private final long id;
65 Session(Token token, long id) {
67 this.id = id;
69 id();
70 sessionRef = new SessionRef(this, id, token);
86 return id;
89 long id() {
90 if (token.isPresent(this.id) == false) {
94 return id;
155 private long id;
158 SessionRef(Session session, long id, Token token) {
160 this.id = id;
170 if (token.isPresent(id)) {
171 token.p11.C_CloseSession(id);
183 if (this.id == other.id) {
186 return (this.id < other.id) ? -1 : 1;