Package bftsmart.reconfiguration.views
Class DefaultViewStorage
- java.lang.Object
-
- bftsmart.reconfiguration.views.DefaultViewStorage
-
- All Implemented Interfaces:
ViewStorage
public class DefaultViewStorage extends java.lang.Object implements ViewStorage
-
-
Constructor Summary
Constructors Constructor Description DefaultViewStorage(java.lang.String configPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes(View view)
View
getView(byte[] bytes)
View
readView()
boolean
storeView(View view)
-
-
-
Method Detail
-
storeView
public boolean storeView(View view)
- Specified by:
storeView
in interfaceViewStorage
-
readView
public View readView()
- Specified by:
readView
in interfaceViewStorage
-
getBytes
public byte[] getBytes(View view)
-
getView
public View getView(byte[] bytes)
-
-