Package com.opencloud.sentinel.common
Interface SessionCountersSessionState
-
- All Superinterfaces:
NullSentinelSessionState
,SentinelCommonSessionState
- All Known Subinterfaces:
SentinelDiameterMediationSessionState
,SentinelDiameterSessionState
,SentinelPromotionsSessionState
,SentinelSessionState
,SentinelSipSessionState
,SentinelSs7SessionState
public interface SessionCountersSessionState extends SentinelCommonSessionState
For features, such as promotion features, that need access to SessionCounters
-
-
Field Summary
Fields Modifier and Type Field Description static com.opencloud.sentinel.common.sessioncounters.SessionCounters
_initialSessionCounters
-
Fields inherited from interface com.opencloud.sentinel.common.SentinelCommonSessionState
_initialSessionHasEnded, _initialSessionType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.opencloud.sentinel.common.sessioncounters.SessionCounters
getSessionCounters()
void
setSessionCounters(com.opencloud.sentinel.common.sessioncounters.SessionCounters SessionCounters)
update the session counters for this session-
Methods inherited from interface com.opencloud.sentinel.common.SentinelCommonSessionState
getProtocol, getSentinelSelectionKey, getSessionHasEnded, getSessionType, getSubscriber, setProtocol, setSentinelSelectionKey, setSessionHasEnded, setSessionType, setSubscriber
-
-
-
-
Method Detail
-
setSessionCounters
@InitialValueField @DatatypeCodecType(com.opencloud.sentinel.cmp.serialization.com.opencloud.sentinel.common.SessionCountersCodec.class) void setSessionCounters(com.opencloud.sentinel.common.sessioncounters.SessionCounters SessionCounters)
update the session counters for this session
-
getSessionCounters
com.opencloud.sentinel.common.sessioncounters.SessionCounters getSessionCounters()
- Returns:
- the session counters for this session
-
-