public final class OperationInvoke extends Operation
Operation.Type
Constructor and Description |
---|
OperationInvoke(OperationInvokeEvent replacing,
Object arg)
Create a new operation representing an invoke request that replaces an existing invoke
request of the same type.
|
OperationInvoke(OperationInvokeEvent replacing,
Object arg,
long timeout)
Create a new operation representing an invoke request that replaces an existing invoke
request of the same type.
|
OperationInvoke(OperationInvokeEvent replacing,
TcapOperation op,
Object arg)
Create a new operation representing an invoke request that replaces an existing invoke
request.
|
OperationInvoke(OperationInvokeEvent replacing,
TcapOperation op,
Object arg,
long timeout)
Create a new operation representing an invoke request that replaces an existing invoke
request.
|
OperationInvoke(OperationInvoke replacing,
Object arg)
Create a new operation representing an invoke request that replaces an existing invoke
request of the same type.
|
OperationInvoke(OperationInvoke replacing,
TcapOperation op,
Object arg)
Create a new operation representing an invoke request that replaces an existing invoke
request.
|
OperationInvoke(TcapOperation op,
boolean hasInvokeID,
int invokeID,
Object arg,
boolean hasLinkedID,
int linkedID)
Create a new operation representing an invoke request.
|
OperationInvoke(TcapOperation op,
boolean hasInvokeID,
int invokeID,
Object arg,
boolean hasLinkedID,
int linkedID,
long timeout)
Create a new operation representing an invoke request.
|
Modifier and Type | Method and Description |
---|---|
Object |
getArgument()
Get the operation argument.
|
long |
getInvokeTimeout()
Get the invoke timeout, if available.
|
int |
getLinkedID()
Get the linked ID.
|
String |
getName()
Get a descriptive name for this operation.
|
Operation.Type |
getType()
Get the type of operation.
|
boolean |
hasInvokeID()
Determine if the operation has an invoke ID.
|
boolean |
hasLinkedID()
Determine if the operation has a linked ID.
|
String |
toString() |
getInvokeID, getOperation
public OperationInvoke(TcapOperation op, boolean hasInvokeID, int invokeID, Object arg, boolean hasLinkedID, int linkedID)
op
- operation metadata object that identifies the operation.hasInvokeID
- boolean flag indicating if an invoke ID is present.
Invoke IDs are always present for operations sent to the interceptor
extension components. An interceptor extension component that generates
operations as output can choose whether or not to specify an invoke ID.
If an invoke ID is not specified, the SIS will choose one.invokeID
- the invoke ID for the operation.arg
- the operation argument, or null
if there is no argument.hasLinkedID
- boolean flag indicating if a linked ID is present.linkedID
- the linked ID, ignored unless hasLinkedID
is true
.public OperationInvoke(TcapOperation op, boolean hasInvokeID, int invokeID, Object arg, boolean hasLinkedID, int linkedID, long timeout)
op
- operation metadata object that identifies the operation.hasInvokeID
- boolean flag indicating if an invoke ID is present.
Invoke IDs are always present for operations sent to the interceptor
extension components. An interceptor extension component that generates
operations as output can choose whether or not to specify an invoke ID.
If an invoke ID is not specified, the SIS will choose one.invokeID
- the invoke ID for the operation.arg
- the operation argument, or null
if there is no argument.hasLinkedID
- boolean flag indicating if a linked ID is present.linkedID
- the linked ID, ignored unless hasLinkedID
is true
.timeout
- the invoke timeout specified for the operation.public OperationInvoke(OperationInvokeEvent replacing, TcapOperation op, Object arg)
replacing
- the operation invoke event that the new invoke is to replace.op
- operation metadata object that identifies the invoke operation.arg
- the new invoke argument, or null
if there is no argument.public OperationInvoke(OperationInvokeEvent replacing, TcapOperation op, Object arg, long timeout)
replacing
- the operation invoke event that the new invoke is to replace.op
- operation metadata object that identifies the invoke operation.arg
- the new invoke argument, or null
if there is no argument.timeout
- the invoke timeout specified for the operation.public OperationInvoke(OperationInvokeEvent replacing, Object arg)
replacing
- the operation invoke event that the new invoke is to replace.arg
- the new invoke argument, or null
if there is no argument.public OperationInvoke(OperationInvokeEvent replacing, Object arg, long timeout)
replacing
- the operation invoke event that the new invoke is to replace.arg
- the new invoke argument, or null
if there is no argument.timeout
- the invoke timeout specified for the operation.public OperationInvoke(OperationInvoke replacing, TcapOperation op, Object arg)
replacing
- the operation invoke that the new invoke is to replace.op
- operation metadata object that identifies the invoke operation.arg
- the new invoke argument, or null
if there is no argument.public OperationInvoke(OperationInvoke replacing, Object arg)
replacing
- the operation invoke that the new invoke is to replace.arg
- the new invoke argument, or null
if there is no argument.public Operation.Type getType()
Operation
public Object getArgument()
null
if there is no argument.public boolean hasInvokeID()
true
if an invoke ID is present, false
otherwise.public boolean hasLinkedID()
true
if a linked ID is present, false
otherwise.public int getLinkedID()
hasLinkedID
returns true
.public long getInvokeTimeout()
public String getName()
Operation