public class DispatchCompletionEvent extends AbstractDispatchEvent<DispatchCompletionEvent>
Constructor and Description |
---|
DispatchCompletionEvent(String owner,
int[] index,
InvocationContext context)
Construct a new dispatch result completion event
|
Modifier and Type | Method and Description |
---|---|
DispatchMessageType |
getMessageType()
DispatchMessageType.RESULT_COMPLETION
|
DispatchCompletionEvent |
popOwningProcess()
Return a copy of the event subclass with the last owning process removed
from the owning process list.
|
DispatchCompletionEvent |
pushOwningProcess(String localProcessName)
Return a copy of the event subclass with the specified local process name
appended to the owning process identifier field.
|
getContext, getIndex, getOwningProcess, isFinal, popOwner, pushOwner, toString
public DispatchCompletionEvent(String owner, int[] index, InvocationContext context)
owner
- index
- context
- public DispatchCompletionEvent popOwningProcess() throws ProcessIdentifierException
Event
popOwningProcess
in class Event<DispatchCompletionEvent>
ProcessIdentifierException
public DispatchCompletionEvent pushOwningProcess(String localProcessName) throws ProcessIdentifierException
Event
pushOwningProcess
in class Event<DispatchCompletionEvent>
localProcessName
- name to addProcessIdentifierException
- if the local process name contains the ':' characterpublic DispatchMessageType getMessageType()
getMessageType
in class AbstractDispatchEvent<DispatchCompletionEvent>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.