Class AddressSubscription

    • Constructor Detail

      • AddressSubscription

        public AddressSubscription​(String name,
                                   String address,
                                   String description,
                                   CompositionID originating,
                                   CompositionID terminating,
                                   CompositionID thirdParty,
                                   int debugLevel,
                                   boolean audit)
        Create a new address subscription object.
        Parameters:
        name - the name of this subscription.
        address - the address that this subscription applies to.
        description - a description of this subscription. May be null.
        originating - the composition that will be invoked for an originating trigger if the subscription is triggered. May be null.
        terminating - composition that will be invoked for a terminating trigger if the subscription is triggered. May be null.
        thirdParty - composition that will be invoked for a third-party call trigger if the subscription is triggered. May be null.
        debugLevel - the debug level for the subscription. Fine-grained tracing debug levels are given in the package summary.
        audit - specifies if auditing will be enabled for this subscription
        Throws:
        NullPointerException - if name or address is null.
    • Method Detail

      • getAddress

        public String getAddress()
        Get the address this subscription applies to.
        Returns:
        the address.