@IsSPIInterface
public interface IMessageExchangeSPI
| Modifier and Type | Method and Description |
|---|---|
String |
getID() |
void |
registerIncomingHandler(javax.servlet.ServletContext aServletContext,
IMEIncomingHandler aIncomingHandler)
Register an incoming handler that takes the request/response to handle.
|
void |
sendOutgoing(IMERoutingInformation aRoutingInfo,
MEMessage aMessage)
Trigger the message transmission in step 1/4 and 3/4.
|
void |
shutdown(javax.servlet.ServletContext aServletContext)
Shutdown the Message Exchange.
|
@Nonnull @Nonempty String getID()
void registerIncomingHandler(@Nonnull javax.servlet.ServletContext aServletContext, @Nonnull IMEIncomingHandler aIncomingHandler)
sendOutgoing(IMERoutingInformation, MEMessage) of
this implementation are also never called.aServletContext - The servlet context in which the handler should be registered. Never
null.aIncomingHandler - The handler to use. May not be null.void sendOutgoing(@Nonnull IMERoutingInformation aRoutingInfo, @Nonnull MEMessage aMessage) throws MEOutgoingException
aRoutingInfo - Routing information. May not be null.aMessage - The message to be exchanged. May not be null.MEOutgoingException - In case of error.void shutdown(@Nonnull javax.servlet.ServletContext aServletContext)
aServletContext - The servlet context in which the handler should be registered. Never
null.Copyright © 2020 toop.eu. All rights reserved.