Class LegState

  • All Implemented Interfaces:
    com.opencloud.rhino.cmp.Encodable

    public class LegState
    extends java.lang.Object
    implements com.opencloud.rhino.cmp.Encodable
    • Constructor Detail

      • LegState

        public LegState()
      • LegState

        public LegState​(java.io.DataInput in,
                        java.lang.ClassLoader cl,
                        com.opencloud.rhino.cmp.codecs.DecoderUtils utils)
                 throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • encode

        public void encode​(java.io.DataOutput out,
                           com.opencloud.rhino.cmp.codecs.EncoderUtils utils)
                    throws java.io.IOException
        Specified by:
        encode in interface com.opencloud.rhino.cmp.Encodable
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getLegName

        public java.lang.String getLegName()
      • setLegName

        public void setLegName​(java.lang.String legName)
      • setLegType

        public void setLegType​(SipLegType legType)
      • getCommittedSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getCommittedSdp()
      • setCommittedSdp

        public void setCommittedSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper committedSdp)
      • getLatestReceivedSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getLatestReceivedSdp()
      • setLatestReceivedSdp

        public void setLatestReceivedSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper latestReceivedSdp)
      • getLatestSentSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getLatestSentSdp()
      • setLatestSentSdp

        public void setLatestSentSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper latestSentSdp)
      • getPreviousCommittedSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getPreviousCommittedSdp()
      • setPreviousCommittedSdp

        public void setPreviousCommittedSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper previousCommittedSdp)
      • getPreviousReceivedSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getPreviousReceivedSdp()
      • setPreviousReceivedSdp

        public void setPreviousReceivedSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper previousReceivedSdp)
      • getPreviousSentSdp

        public com.opencloud.sentinel.sdp.SessionDescriptionWrapper getPreviousSentSdp()
      • setPreviousSentSdp

        public void setPreviousSentSdp​(com.opencloud.sentinel.sdp.SessionDescriptionWrapper previousSentSdp)
      • getCommittedSdpSequenceNumber

        public java.lang.Long getCommittedSdpSequenceNumber()
      • setCommittedSdpSequenceNumber

        public void setCommittedSdpSequenceNumber​(java.lang.Long committedSdpSequenceNumber)
      • getLatestReceivedSdpSequenceNumber

        public java.lang.Long getLatestReceivedSdpSequenceNumber()
      • setLatestReceivedSdpSequenceNumber

        public void setLatestReceivedSdpSequenceNumber​(java.lang.Long latestReceivedSdpSequenceNumber)
      • getLatestSentSdpSequenceNumber

        public java.lang.Long getLatestSentSdpSequenceNumber()
      • setLatestSentSdpSequenceNumber

        public void setLatestSentSdpSequenceNumber​(java.lang.Long latestSentSdpSequenceNumber)
      • getPreviousReceivedSdpSequenceNumber

        public java.lang.Long getPreviousReceivedSdpSequenceNumber()
      • setPreviousReceivedSdpSequenceNumber

        public void setPreviousReceivedSdpSequenceNumber​(java.lang.Long previousReceivedSdpSequenceNumber)
      • getPreviousSentSdpSequenceNumber

        public java.lang.Long getPreviousSentSdpSequenceNumber()
      • setPreviousSentSdpSequenceNumber

        public void setPreviousSentSdpSequenceNumber​(java.lang.Long previousSentSdpSequenceNumber)
      • getOutstandingReliableResponses

        public java.util.Set<ReliableResponseID> getOutstandingReliableResponses()
      • setOutstandingReliableResponses

        public void setOutstandingReliableResponses​(java.util.Set<ReliableResponseID> outstandingReliableResponses)
      • getHasOutstandingSdpOffer

        public boolean getHasOutstandingSdpOffer()
      • setHasOutstandingSdpOffer

        public void setHasOutstandingSdpOffer​(boolean hasOutstandingSdpOffer)
      • getLatestMessageTimestamp

        public java.lang.Long getLatestMessageTimestamp()
      • setLatestMessageTimestamp

        public void setLatestMessageTimestamp​(java.lang.Long latestMessageTimestamp)
      • getSuspended

        public java.lang.Boolean getSuspended()
      • setSuspended

        public void setSuspended​(java.lang.Boolean suspended)
      • getOutstandingTransactionsByMethodSet

        public com.google.common.collect.LinkedListMultimap<java.lang.String,​java.lang.Long> getOutstandingTransactionsByMethodSet()
        Map of CSeq numbers and their request methods representing transactions in progress.

        When a request is received it is added the map of sequence/method combinations and removed from the map when the corresponding sequence/method response is received.

        For example:

         ----INVITE 112 --->  map.add(INVITE, 112), in progress
         ----183 Ringing -->  ignored as not a 2xx and above
         <---PRACK 112 1 -->  map.add(PRACK, 112-1), in progress
         ----200 112 1   -->  map.remove(PRACK, 112-1) not in progress
         ----180         -->  ignored as not a 2xx and above
         <---PRACK 112 2 -->  map.add(PRACK, 112-2)
         ----200 112 2   -->  map.remove(PRACK, 112-2)
         ----200 112     -->  map.remove(INVITE, 112)
         
      • setOutstandingTransactionsByMethodSet

        public void setOutstandingTransactionsByMethodSet​(com.google.common.collect.LinkedListMultimap<java.lang.String,​java.lang.Long> outstandingTransactionsByMethodSet)
      • getTrackingEnabled

        public java.lang.Boolean getTrackingEnabled()
      • setTrackingEnabled

        public void setTrackingEnabled​(java.lang.Boolean trackingEnabled)
      • getWaitForTrackingResultEnabled

        public java.lang.Boolean getWaitForTrackingResultEnabled()
      • setWaitForTrackingResultEnabled

        public void setWaitForTrackingResultEnabled​(java.lang.Boolean waitForTrackingResultEnabled)
      • getAdditionalTrackingKeys

        public java.util.Set<java.lang.String> getAdditionalTrackingKeys()
      • setAdditionalTrackingKeys

        public void setAdditionalTrackingKeys​(java.util.Set<java.lang.String> additionalTrackingKeys)
      • getAdditionalTrackedAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalTrackedAttributes()
      • setAdditionalTrackedAttributes

        public void setAdditionalTrackedAttributes​(java.util.Map<java.lang.String,​java.lang.String> additionalTrackedAttributes)
      • getOwner

        public java.lang.String getOwner()
      • setOwner

        public void setOwner​(java.lang.String owner)
      • getLastTrackingDataChangeTime

        public java.lang.Long getLastTrackingDataChangeTime()
      • setLastTrackingDataChangeTime

        public void setLastTrackingDataChangeTime​(java.lang.Long lastTrackingDataChangeTime)
      • setInviteSessionPhase

        public void setInviteSessionPhase​(InviteSessionPhase inviteSessionPhase)