Package bftsmart.reconfiguration
Class ViewController
- java.lang.Object
-
- bftsmart.reconfiguration.ViewController
-
- Direct Known Subclasses:
ClientViewController
,ServerViewController
public class ViewController extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected View
currentView
protected View
lastView
-
Constructor Summary
Constructors Constructor Description ViewController(int procId, KeyLoader loader)
ViewController(int procId, java.lang.String configHome, KeyLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description View
getCurrentView()
int
getCurrentViewF()
int
getCurrentViewId()
int
getCurrentViewN()
int
getCurrentViewPos(int id)
int[]
getCurrentViewProcesses()
View
getLastView()
java.net.SocketAddress
getRemoteAddress(int id)
TOMConfiguration
getStaticConf()
ViewStorage
getViewStore()
boolean
isCurrentViewMember(int id)
void
reconfigureTo(View newView)
-
-
-
Method Detail
-
getViewStore
public final ViewStorage getViewStore()
-
getCurrentView
public View getCurrentView()
-
getLastView
public View getLastView()
-
getRemoteAddress
public java.net.SocketAddress getRemoteAddress(int id)
-
reconfigureTo
public void reconfigureTo(View newView)
-
getStaticConf
public TOMConfiguration getStaticConf()
-
isCurrentViewMember
public boolean isCurrentViewMember(int id)
-
getCurrentViewId
public int getCurrentViewId()
-
getCurrentViewF
public int getCurrentViewF()
-
getCurrentViewN
public int getCurrentViewN()
-
getCurrentViewPos
public int getCurrentViewPos(int id)
-
getCurrentViewProcesses
public int[] getCurrentViewProcesses()
-
-