public class ITKSimpleDOS extends Object implements DirectoryOfServices
| Constructor and Description |
|---|
ITKSimpleDOS() |
| Modifier and Type | Method and Description |
|---|---|
ITKService |
getService(String serviceId)
Get the
ITKService for the supplied serviceId |
ITKTransportRoute |
resolveDestination(String serviceId,
ITKAddress address)
Resolve the
ITKTransportRoute for the supplied service
and logical destination address. |
public ITKTransportRoute resolveDestination(String serviceId, ITKAddress address)
DirectoryOfServicesITKTransportRoute for the supplied service
and logical destination address. For non-routed messages the returned
transport route will provide the physical destination address of the addressee.
For routed messages the return ITKTransportRoute may represent the
physical route to the actual destination service or it may resolve to an intermediary
ITK-router - from the message originators perspective it is agnostic.resolveDestination in interface DirectoryOfServicesserviceId - The serviceId representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0address - The logical address of the destination e.g. urn:nhs-uk:addressing:ods:TESTORGS:ORGBpublic ITKService getService(String serviceId)
DirectoryOfServicesITKService for the supplied serviceIdgetService in interface DirectoryOfServicesserviceId - The ITK Service Id representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0All content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated