Searched refs:SessionLibrary (Results 1 – 4 of 4) sorted by relevance
8 std::mutex SessionLibrary::singleton_lock_;9 SessionLibrary* SessionLibrary::singleton_ = NULL;11 SessionLibrary* SessionLibrary::get() { in get()15 singleton_ = new SessionLibrary(); in get()21 std::vector<uint8_t> SessionLibrary::createSession() { in createSession()30 void SessionLibrary::closeSession(const std::vector<uint8_t>& session) { in closeSession()
30 "SessionLibrary.cpp",
73 std::vector<uint8_t> sessionId = SessionLibrary::get()->createSession(); in openSession()82 SessionLibrary::get()->closeSession(in_sessionId); in closeSession()
9 class SessionLibrary {11 static SessionLibrary* get();16 SessionLibrary() : next_session_id_(1) {} in SessionLibrary() function19 static SessionLibrary* singleton_;