org.apache.qpid.management.domain.model
Class InvocationEvent
java.lang.Object
java.util.EventObject
org.apache.qpid.management.domain.model.InvocationEvent
- All Implemented Interfaces:
- Serializable
public class InvocationEvent
- extends EventObject
Operation invocation event.
This encapsulates all the information that a method invocation listener needs to know about an operation which is
going to be invoked.
- See Also:
- Serialized Form
InvocationEvent
InvocationEvent(Object source,
int sequenceNumber,
BlockingQueue<InvocationResult> exchangeChannel)
- Builds a new invocation event with the given data.
- Parameters:
source
- the event source.sequenceNumber
- the sequence number of the method invocation.exchangeChannel
- the exchange channel for synchronous communication.
getSequenceNumber
public int getSequenceNumber()
- Returns the sequence number that will be / has been used for method invocation.
- Returns:
- the sequence number that will be / has been used for method invocation.
getExchangeChannel
public BlockingQueue<InvocationResult> getExchangeChannel()
- Returns the exchange channel that will be used between event source and event listener for synchronous
communication.
- Returns:
- the exchange channel that will be used for synchronous communication.
Licensed to the Apache Software Foundation