public final class AddressSubscription extends Subscription
Constructor and Description |
---|
AddressSubscription(String name,
String address,
String description,
CompositionID originating,
CompositionID terminating,
CompositionID thirdParty,
int debugLevel,
boolean audit)
Create a new address subscription object.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Get the address this subscription applies to.
|
getDebugLevel, getDescription, getName, getOriginatingComposition, getTerminatingComposition, getThirdPartyComposition, hasOriginatingComposition, hasTerminatingComposition, hasThirdPartyComposition, isAuditLoggingEnabled, toString
public AddressSubscription(String name, String address, String description, CompositionID originating, CompositionID terminating, CompositionID thirdParty, int debugLevel, boolean audit)
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 subscriptionNullPointerException
- if name
or address
is null.public String getAddress()