Package bftsmart.tom
Class ReplicaContext
- java.lang.Object
-
- bftsmart.tom.ReplicaContext
-
public class ReplicaContext extends java.lang.Object
This 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 View
getCurrentView()
Returns the current view of the replica group.ServerCommunicationSystem
getServerCommunicationSystem()
Returns the replica's communication systemTOMConfiguration
getStaticConfiguration()
Returns the static configuration of this replica.ServerViewController
getSVController()
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
-
-