org.mobicents.servlet.sip.core.session
Interface MobicentsSipSession
- All Superinterfaces:
- SipSession, SipSessionExt
- All Known Implementing Classes:
- MobicentsSipSessionFacade, SipSessionImpl
public interface MobicentsSipSession
- extends SipSession, SipSessionExt
- Author:
- Jean Deruelle
| Methods inherited from interface javax.servlet.sip.SipSession |
createRequest, getApplicationSession, getAttribute, getAttributeNames, getCallId, getCreationTime, getId, getInvalidateWhenReady, getLastAccessedTime, getLocalParty, getRegion, getRemoteParty, getServletContext, getState, getSubscriberURI, invalidate, isReadyToInvalidate, isValid, removeAttribute, setAttribute, setHandler, setInvalidateWhenReady, setOutboundInterface, setOutboundInterface |
getKey
SipSessionKey getKey()
- get the internal Mobicents Sip Session Key
- Returns:
- the internal Mobicents Sip Session Key
addDerivedSipSessions
void addDerivedSipSessions(MobicentsSipSession derivedSession)
- Add the derived sip session it will be identified by the To tag from its key
- Parameters:
derivedSession - the derived session to add
removeDerivedSipSession
MobicentsSipSession removeDerivedSipSession(java.lang.String toTag)
- Removes the derived sip session identified by the To tag in parameter
- Parameters:
toTag - the to Tag identifying the sip session to remove
- Returns:
- the removed derived sip session
findDerivedSipSession
MobicentsSipSession findDerivedSipSession(java.lang.String toTag)
- Find the derived sip session identified by its to tag
- Parameters:
toTag - the to Tag identifying the sip session to remove
- Returns:
- the derived sip session identified by its to tag or null if none has been found
getSipApplicationSession
MobicentsSipApplicationSession getSipApplicationSession()
getHandler
java.lang.String getHandler()
getSessionCreatingDialog
javax.sip.Dialog getSessionCreatingDialog()
setSessionCreatingDialog
void setSessionCreatingDialog(javax.sip.Dialog dialog)
getSessionCreatingTransactionRequest
SipServletMessageImpl getSessionCreatingTransactionRequest()
setSessionCreatingTransactionRequest
void setSessionCreatingTransactionRequest(SipServletMessageImpl message)
getOngoingTransactions
java.util.Set<javax.sip.Transaction> getOngoingTransactions()
removeOngoingTransaction
void removeOngoingTransaction(javax.sip.Transaction transaction)
addOngoingTransaction
void addOngoingTransaction(javax.sip.Transaction transaction)
getStateInfo
java.io.Serializable getStateInfo()
setStateInfo
void setStateInfo(java.io.Serializable stateInfo)
getUserPrincipal
java.security.Principal getUserPrincipal()
setUserPrincipal
void setUserPrincipal(java.security.Principal principal)
setRoutingRegion
void setRoutingRegion(SipApplicationRoutingRegion routingRegion)
getProxy
ProxyImpl getProxy()
- Retieves the proxy of the sip session if any
- Returns:
setProxy
void setProxy(ProxyImpl proxy)
setB2buaHelper
void setB2buaHelper(B2buaHelperImpl helperImpl)
getB2buaHelper
B2buaHelperImpl getB2buaHelper()
access
void access()
updateStateOnResponse
void updateStateOnResponse(SipServletResponseImpl sipServletResponseImpl,
boolean receive)
updateStateOnSubsequentRequest
void updateStateOnSubsequentRequest(SipServletRequestImpl sipServletRequestImpl,
boolean receive)
onTerminatedState
void onTerminatedState()
onReadyToInvalidate
void onReadyToInvalidate()
getOutboundInterface
java.lang.String getOutboundInterface()
getDerivedSipSessions
java.util.Iterator<MobicentsSipSession> getDerivedSipSessions()
setState
void setState(SipSession.State state)
setSipSubscriberURI
void setSipSubscriberURI(java.lang.String subscriberURI)
getSipSubscriberURI
java.lang.String getSipSubscriberURI()
getParentSession
MobicentsSipSession getParentSession()
setParentSession
void setParentSession(MobicentsSipSession mobicentsSipSession)
getSipSessionAttributeMap
java.util.Map<java.lang.String,java.lang.Object> getSipSessionAttributeMap()
setSipSessionAttributeMap
void setSipSessionAttributeMap(java.util.Map<java.lang.String,java.lang.Object> sipSessionAttributeMap)
setLocalParty
void setLocalParty(Address addressImpl)
setRemoteParty
void setRemoteParty(Address addressImpl)
getRegionInternal
SipApplicationRoutingRegion getRegionInternal()
acquire
void acquire()
release
void release()
addSubscription
void addSubscription(SipServletMessageImpl sipServletMessage)
throws javax.sip.SipException
- Throws:
javax.sip.SipException
removeSubscription
void removeSubscription(SipServletMessageImpl sipServletMessage)
getSession
MobicentsSipSessionFacade getSession()
setNextSipApplicationRouterInfo
void setNextSipApplicationRouterInfo(SipApplicationRouterInfo routerInfo)
getNextSipApplicationRouterInfo
SipApplicationRouterInfo getNextSipApplicationRouterInfo()
isValidInternal
boolean isValidInternal()
getCseq
long getCseq()
setCseq
void setCseq(long cseq)
validateCSeq
boolean validateCSeq(SipServletRequestImpl sipServletRequestImpl)
getTransport
java.lang.String getTransport()
setTransport
void setTransport(java.lang.String transport)
getRequestsPending
int getRequestsPending()
setRequestsPending
void setRequestsPending(int requests)
setAckReceived
void setAckReceived(long cSeq,
boolean ackReceived)
notifySipSessionListeners
void notifySipSessionListeners(SipSessionEventType creation)
setSipSessionSecurity
void setSipSessionSecurity(SipSessionSecurity sipSessionSecurity)
getSipSessionSecurity
SipSessionSecurity getSipSessionSecurity()
Copyright © 2011. All Rights Reserved.