public interface SafeStorage
Modifier and Type | Method and Description |
---|---|
void |
discard(Transportable theMessage)
If the given message exists in the store, it is removed.
|
Transportable[] |
restore()
Returns all messages that have been stored.
|
void |
store(Transportable theMessage)
Stores a message so that it can be reliably retrieved and sent to
the proper application, even if this service is restarted in the mean
time.
|
void store(Transportable theMessage) throws HL7Exception
theMessage
- the message to storeHL7Exception
- if there is some problem accessing the storevoid discard(Transportable theMessage) throws HL7Exception
theMessage
- the message to discardHL7Exception
- if there is some problem accessing the storeTransportable[] restore() throws HL7Exception
HL7Exception
- if there is some problem accessing the storeCopyright © 2001–2017 University Health Network. All rights reserved.