|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionContext
Context defined session life cycle.
OPEN -> BOUND_TX | BOUND_RX | BOUND_TRX -> UNBOUND -> CLOSE.
Method Summary | |
---|---|
void |
bound(BindType bindType)
Change state to bound state. |
void |
close()
Change state to close. |
long |
getLastActivityTimestamp()
Get the last activity of a session. |
SessionState |
getSessionState()
Get current session state. |
void |
open()
Change state to open. |
void |
unbound()
Change state to unbound. |
Methods inherited from interface org.jsmpp.session.ActivityNotifier |
---|
notifyActivity |
Method Detail |
---|
void open()
void bound(BindType bindType)
bindType
- void unbound()
void close()
SessionState getSessionState()
long getLastActivityTimestamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |