public interface ApplicationRouter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ApplicationRouter.AppRoutingData
Encapsulates the message fields used for routing of messages from the
HL7 protocol to the appropriate
Application. |
| Modifier and Type | Method and Description |
|---|---|
void |
bindApplication(ApplicationRouter.AppRoutingData theRoutingData,
ReceivingApplication theApplication)
Associates the given application with the given message parameters, so that messages
with matching parameters will be sent there.
|
void |
disableBinding(ApplicationRouter.AppRoutingData theRoutingData)
Temporarily deactivates the binding on the given field data, if present.
|
void |
enableBinding(ApplicationRouter.AppRoutingData theRoutingData)
Undoes
disableBinding(AppRoutingData theRoutingData). |
Parser |
getParser() |
boolean |
hasActiveBinding(ApplicationRouter.AppRoutingData theRoutingData) |
Transportable |
processMessage(Transportable theMessage)
Attempts to route the given message to the associated
Application
and obtain a response. |
Transportable processMessage(Transportable theMessage) throws HL7Exception
Application
and obtain a response.theMessage - the message to routeHL7Exceptionboolean hasActiveBinding(ApplicationRouter.AppRoutingData theRoutingData)
theRoutingData - message fields used in determining the appropriate destinationvoid bindApplication(ApplicationRouter.AppRoutingData theRoutingData, ReceivingApplication theApplication)
Associates the given application with the given message parameters, so that messages with matching parameters will be sent there. Only one application can be registered for a given set of parameters: repeated registration for a particular combination over-writes the previous one.
Because of wildcards, there may be multiple registrations that match a given message. In this case, the first registered wins.
theRoutingData - message fields used in determining the appropriate destinationtheApplication - the application to which messages with these parameters should be
sentvoid disableBinding(ApplicationRouter.AppRoutingData theRoutingData)
theRoutingData - the fields that define a set of messages that are bound to
some Applicationvoid enableBinding(ApplicationRouter.AppRoutingData theRoutingData)
disableBinding(AppRoutingData theRoutingData).theRoutingData - the fields that define a set of messages that are bound to
some ApplicationCopyright © 2001-2012 University Health Network. All Rights Reserved.