
public interface MessagingTarget
| Modifier and Type | Method and Description |
|---|---|
void |
execute(MessageEnvelope messageEnvelope,
MessageResult messageResult,
ExecutionContext executionContext)
Executes all messages in an XDI messaging envelope against this messaging target.
|
XDIArc |
getOwnerPeerRootXDIArc()
Returns the owner peer root XRI of the messaging target.
|
void |
init()
This method gets called when the messaging target is initialized.
|
void |
shutdown()
This method gets called when the messaging target is no longer needed.
|
void init()
throws Exception
Exceptionvoid shutdown()
throws Exception
Exceptionvoid execute(MessageEnvelope messageEnvelope, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
messageEnvelope - The XDI message envelope containing XDI messages to be executed.messageResult - The result produced by executing the message envelope.executionContext - An "execution context" object that carries state between
messaging targets, interceptors and contributors.Xdi2MessagingExceptionXDIArc getOwnerPeerRootXDIArc()
Copyright © 2015. All Rights Reserved.