Package bftsmart.tom
Class ReplicaContext
- java.lang.Object
-
- bftsmart.tom.ReplicaContext
-
public class ReplicaContext extends java.lang.ObjectThis class contains information related to the replica.
-
-
Constructor Summary
Constructors Constructor Description ReplicaContext(ServerCommunicationSystem cs, ServerViewController SVController)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewgetCurrentView()Returns the current view of the replica group.ServerCommunicationSystemgetServerCommunicationSystem()Returns the replica's communication systemTOMConfigurationgetStaticConfiguration()Returns the static configuration of this replica.ServerViewControllergetSVController()Returns the controller of the replica's view
-
-
-
Constructor Detail
-
ReplicaContext
public ReplicaContext(ServerCommunicationSystem cs, ServerViewController SVController)
Constructor- Parameters:
cs-SVController-
-
-
Method Detail
-
getSVController
public ServerViewController getSVController()
Returns the controller of the replica's view- Returns:
- The controller of the replica's view
-
getStaticConfiguration
public TOMConfiguration getStaticConfiguration()
Returns the static configuration of this replica.- Returns:
- the static configuration of this replica
-
getCurrentView
public View getCurrentView()
Returns the current view of the replica group.- Returns:
- the current view of the replica group.
-
getServerCommunicationSystem
public ServerCommunicationSystem getServerCommunicationSystem()
Returns the replica's communication system- Returns:
- The replica's communication system
-
-