Package ca.uhn.hl7v2.protocol.impl
Class NullSafeStorage
java.lang.Object
ca.uhn.hl7v2.protocol.impl.NullSafeStorage
- All Implemented Interfaces:
SafeStorage
A non-functional implementation of
SafeStorage. This is
intended as a placeholder pending release of UHN's Simple Record Store
project.- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:26 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddiscard(Transportable theMessage) Does nothing.restore()Returns an empty array.voidstore(Transportable theMessage) Does nothing.
-
Constructor Details
-
NullSafeStorage
public NullSafeStorage()
-
-
Method Details
-
store
Does nothing.- Specified by:
storein interfaceSafeStorage- Parameters:
theMessage- the message to store
-
discard
Does nothing.- Specified by:
discardin interfaceSafeStorage- Parameters:
theMessage- the message to discard
-
restore
Returns an empty array.- Specified by:
restorein interfaceSafeStorage- Returns:
- all messages in the store
-