Package com.nt.udc.util.state
Interface StateBufferSaveable
- All Known Implementing Classes:
GenevaBasicMetaWriter
,IPDROIFormatter
,IPDROISimpleFormatter
,IPDROITableFormatter
,JDBCEITransport
,JDBCOITransport
,MXNarReader
,NarReader
,NarWriter
,NARXMLOIFileWriter
,OIFileWriter
,TcpOITransport
public interface StateBufferSaveable
This interface should be implemented by an Object that
needs to save/restore its state to a generic buffer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
restoreState
(StateBuffer buffer) Restore the Object's state from the given buffer.void
saveState
(StateBuffer buffer) Save the Object's state to the given buffer.
-
Method Details
-
saveState
Save the Object's state to the given buffer.- Parameters:
buffer
- Buffer for writing- Throws:
StateException
-
restoreState
Restore the Object's state from the given buffer.- Parameters:
buffer
- Buffer for reading- Throws:
StateException
-