Package net.i2p.sam
Class SessionsDB
java.lang.Object
net.i2p.sam.SessionsDB
basically a HashMap from String to SessionRecord
- Since:
- 0.9.25 moved from SAMv3Handler
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String nick) boolean
void
put
(String nick, SessionRecord session) void
putDupDestOK
(String nick, SessionRecord session)
-
Constructor Details
-
SessionsDB
public SessionsDB()
-
-
Method Details
-
put
public void put(String nick, SessionRecord session) throws SessionsDB.ExistingIdException, SessionsDB.ExistingDestException -
putDupDestOK
- Throws:
SessionsDB.ExistingIdException
- Since:
- 0.9.25
-
del
- Returns:
- true if removed
-
get
-
containsKey
-