Package com.opencloud.sentinel.common
Interface SentinelSessionState
-
- All Superinterfaces:
NullSentinelSessionState
,SentinelCommonSessionState
,SessionCountersSessionState
- All Known Subinterfaces:
com.opencloud.sentinel.common.SentinelDiameterMediationSessionState
,SentinelSipSessionState
public interface SentinelSessionState extends SentinelCommonSessionState, SessionCountersSessionState
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_initialDiameterServiceContextId
static java.lang.Integer
_initialReauthorisationReportingReason
-
Fields inherited from interface com.opencloud.sentinel.common.SentinelCommonSessionState
_initialSessionHasEnded, _initialSessionType
-
Fields inherited from interface com.opencloud.sentinel.common.SessionCountersSessionState
_initialSessionCounters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAccount()
java.lang.Integer
getAnnouncementID()
java.lang.String
getDiameterServiceContextId()
java.lang.String
getLanguage()
java.lang.String
getMSISDN()
java.lang.String
getOcsEntityId()
java.lang.String
getOCSHost()
java.lang.String
getOCSId()
java.lang.String
getOCSRealm()
java.lang.Integer
getOcsSessionTerminationCause()
int[]
getPlayedAnnouncementIDs()
java.lang.Integer
getReauthorisationReportingReason()
long
getSessionEnded()
long
getSessionEstablished()
long
getSessionInitiated()
java.lang.String
getSubscriptionType()
Deprecated.long
getValidityEnd()
long
getValidityStart()
void
setAccount(java.lang.String Account)
void
setAnnouncementID(java.lang.Integer AnnouncementID)
void
setDiameterServiceContextId(java.lang.String diameterServiceContextId)
void
setLanguage(java.lang.String Language)
void
setMSISDN(java.lang.String MSISDN)
void
setOcsEntityId(java.lang.String OcsEntityId)
void
setOCSHost(java.lang.String OCSHost)
void
setOCSId(java.lang.String OCSId)
void
setOCSRealm(java.lang.String OCSRealm)
void
setOcsSessionTerminationCause(java.lang.Integer OcsSessionTerminationCause)
set the OCS session termination causevoid
setPlayedAnnouncementIDs(int[] AnnouncementIDs)
void
setReauthorisationReportingReason(java.lang.Integer ReauthorisationReportingReason)
void
setSessionEnded(long SessionEnded)
Set the Session ended date and time in (ms).void
setSessionEstablished(long SessionEstablished)
set the Session established date and time (ms)void
setSessionInitiated(long SessionInitiated)
set the Session initiated date and time (ms)void
setSubscriptionType(java.lang.String SubscriptionType)
void
setValidityEnd(long ValidityEnd)
set the end date of subscription validity (ms)void
setValidityStart(long ValidityStart)
set the start date of subscription validity (ms)-
Methods inherited from interface com.opencloud.sentinel.common.SentinelCommonSessionState
getProtocol, getSentinelSelectionKey, getSessionHasEnded, getSessionType, getSubscriber, setProtocol, setSentinelSelectionKey, setSessionHasEnded, setSessionType, setSubscriber
-
Methods inherited from interface com.opencloud.sentinel.common.SessionCountersSessionState
getSessionCounters, setSessionCounters
-
-
-
-
Field Detail
-
_initialReauthorisationReportingReason
static final java.lang.Integer _initialReauthorisationReportingReason
-
_initialDiameterServiceContextId
static final java.lang.String _initialDiameterServiceContextId
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSessionInitiated
void setSessionInitiated(long SessionInitiated)
set the Session initiated date and time (ms)
-
getSessionInitiated
long getSessionInitiated()
- Returns:
- the Session initiated date and time (ms)
-
setSessionEstablished
void setSessionEstablished(long SessionEstablished)
set the Session established date and time (ms)
-
getSessionEstablished
long getSessionEstablished()
- Returns:
- the Session established date and time (ms)
-
setSessionEnded
void setSessionEnded(long SessionEnded)
Set the Session ended date and time in (ms). Set at a point as close as possible to the arrival of the event notifying Sentinel that the session has ended e.g. disconnect, release call, abort.
-
getSessionEnded
long getSessionEnded()
- Returns:
- the Session ended date and time in (ms)
-
setOcsSessionTerminationCause
void setOcsSessionTerminationCause(java.lang.Integer OcsSessionTerminationCause)
set the OCS session termination cause
-
getOcsSessionTerminationCause
java.lang.Integer getOcsSessionTerminationCause()
- Returns:
- the OCS session termination cause
-
getReauthorisationReportingReason
@InitialValueField java.lang.Integer getReauthorisationReportingReason()
-
setReauthorisationReportingReason
void setReauthorisationReportingReason(java.lang.Integer ReauthorisationReportingReason)
-
setValidityStart
void setValidityStart(long ValidityStart)
set the start date of subscription validity (ms)
-
getValidityStart
long getValidityStart()
- Returns:
- the start date of subscription validity (ms)
-
setValidityEnd
void setValidityEnd(long ValidityEnd)
set the end date of subscription validity (ms)
-
getValidityEnd
long getValidityEnd()
- Returns:
- the end date of subscription validity (ms)
-
setMSISDN
void setMSISDN(java.lang.String MSISDN)
-
getMSISDN
java.lang.String getMSISDN()
-
setLanguage
void setLanguage(java.lang.String Language)
-
getLanguage
java.lang.String getLanguage()
-
setAccount
void setAccount(java.lang.String Account)
-
getAccount
java.lang.String getAccount()
-
setSubscriptionType
void setSubscriptionType(java.lang.String SubscriptionType)
-
getSubscriptionType
@Deprecated java.lang.String getSubscriptionType()
Deprecated.
-
setOCSId
void setOCSId(java.lang.String OCSId)
-
getOCSId
java.lang.String getOCSId()
-
setOcsEntityId
void setOcsEntityId(java.lang.String OcsEntityId)
-
getOcsEntityId
java.lang.String getOcsEntityId()
-
setOCSHost
void setOCSHost(java.lang.String OCSHost)
-
getOCSHost
java.lang.String getOCSHost()
-
setOCSRealm
void setOCSRealm(java.lang.String OCSRealm)
-
getOCSRealm
java.lang.String getOCSRealm()
-
setAnnouncementID
void setAnnouncementID(java.lang.Integer AnnouncementID)
-
getAnnouncementID
java.lang.Integer getAnnouncementID()
-
setPlayedAnnouncementIDs
void setPlayedAnnouncementIDs(int[] AnnouncementIDs)
-
getPlayedAnnouncementIDs
int[] getPlayedAnnouncementIDs()
-
getDiameterServiceContextId
@InitialValueField java.lang.String getDiameterServiceContextId()
-
setDiameterServiceContextId
void setDiameterServiceContextId(java.lang.String diameterServiceContextId)
-
-