Interface GxSessionActivity

    • Method Detail

      • getDiameterGxMessageFactory

        DiameterGxMessageFactory getDiameterGxMessageFactory()
        Get a CreditControlMessageFactory to create messages and AVPs.
      • getCcSessionState

        CreditControlSessionState getCcSessionState()
        Returns the state of this credit control session, which will affect what types of messages may be sent.
      • getCcSessionFailover

        CcSessionFailover getCcSessionFailover()
        Returns the value of the CcSessionFailover AVP for session. This is based on configuration.
        Returns:
        the value of the CcSessionFailover AVP or null if it is undefined for this session.
      • hasDirectDebitingFailureHandling

        boolean hasDirectDebitingFailureHandling()
        Returns true if value of DirectDebitingFailureHandling AVP is known for session. This is based on configuration.
      • getDirectDebitingFailureHandling

        DirectDebitingFailureHandling getDirectDebitingFailureHandling()
        Returns the value of the DirectDebitingFailureHandling AVP for session. This is based on configuration.
        Returns:
        the value of the DirectDebitingFailureHandling AVP or null if it is undefined for this session.
      • hasCreditControlFailureHandling

        boolean hasCreditControlFailureHandling()
        Returns true if value of CreditControlFailureHandling AVP is known for session. This is based on configuration.
      • getCreditControlFailureHandling

        CreditControlFailureHandling getCreditControlFailureHandling()
        Returns the value of the CreditControlFailureHandling AVP for session. This is based on configuration.
        Returns:
        the value of the CreditControlFailureHandling AVP or null if it is undefined for this session.
      • endActivity

        void endActivity()
        End this activity. This does not cause any messages to be sent, it simply ends the activity in the SLEE.
      • getLastSendTime

        long getLastSendTime()
        Returns the timestamp for the last message sent on this activity, or 0 if no timestamp is available.
      • getLastReceiveTime

        long getLastReceiveTime()
        Returns the timestamp for the last message received on this activity, or 0 if no timestamp is available.
      • startReplicating

        void startReplicating()
        Requests that this session starts being replicated from now on.

        Calling this method will only have an effect if:

        1. activity replication is enabled (the ReplicateActivities configuration property is set to true),
        2. activities are not set to replicate by default (the ReplicateByDefault configuration property is set to false),
        3. the namespace in which the resource adaptor is deployed is configured with a replication resource that uses the key value store replication method, and
        4. this activity has not previously been marked for replication.

        In all other cases, calling this method will have no effect.
      • getTrackingKey

        String getTrackingKey()
        Return the tracking key for this session.
        Returns:
        the tracking key for this session