Package com.nt.udc.ndk.checkpoint
Class BaseCheckpointData
java.lang.Object
com.nt.udc.ndk.checkpoint.BaseCheckpointData
- Direct Known Subclasses:
FileCheckpointData,FilePositionCheckpointData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidflush()abstract voidread(InputStream in) protected static intreadInt(InputStream in) protected static Stringfinal voidrestore()abstract voidwrite(OutputStream out) protected static voidwriteInt(OutputStream out, int value) protected static voidwriteString(OutputStream out, String name)
-
Constructor Details
-
BaseCheckpointData
-
-
Method Details
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
writeString
- Throws:
IOException
-
readString
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
readInt
- Throws:
IOException
-
flush
public final void flush() -
restore
public final void restore()
-