|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SafeStorage
Represents a persistent store for incoming messages. Messages may be stored here before an accept ACK is returned. The local side of the interface then takes on responsibility for delivering the message to the application.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void store(Transportable theMessage) throws HL7Exception
theMessage
- the message to store
HL7Exception
- if there is some problem accessing the storevoid discard(Transportable theMessage) throws HL7Exception
theMessage
- the message to discard
HL7Exception
- if there is some problem accessing the storeTransportable[] restore() throws HL7Exception
HL7Exception
- if there is some problem accessing the store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |