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)
DirectoryOfServices
ITKTransportRoute
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 DirectoryOfServices
serviceId
- The serviceId representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0
address
- The logical address of the destination e.g. urn:nhs-uk:addressing:ods:TESTORGS:ORGB
public ITKService getService(String serviceId)
DirectoryOfServices
ITKService
for the supplied serviceId
getService
in interface DirectoryOfServices
serviceId
- The ITK Service Id representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0
All 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