
public interface MessagingContainer
| Modifier and Type | Method and Description |
|---|---|
void |
execute(MessageEnvelope messageEnvelope,
ExecutionContext executionContext,
ExecutionResult executionResult)
Executes a messaging request against this messaging container.
|
XDIArc |
getOwnerPeerRootXDIArc()
Returns the owner peer root XDI arc of the messaging container.
|
XDIAddress |
getOwnerXDIAddress()
Returns the owner XDI address of the messaging container.
|
void |
init()
This method gets called when the messaging container is initialized.
|
void |
shutdown()
This method gets called when the messaging container is no longer needed.
|
void init() throws Exception
Exceptionvoid shutdown()
throws Exception
Exceptionvoid execute(MessageEnvelope messageEnvelope, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
messageEnvelope - The XDI message envelope to be executed.executionContext - An "execution context" object that carries state between
messaging containers, interceptors and contributors.executionResult - The execution result produced by executing the messaging request.Xdi2MessagingExceptionXDIArc getOwnerPeerRootXDIArc()
XDIAddress getOwnerXDIAddress()
Copyright © 2017. All rights reserved.