Interface ILoadBalancer
-
- All Known Implementing Classes:
BaseLoadBalancer
public interface ILoadBalancerIntroduction or link to the documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit()Used for custom initialization if necessarycom.smartfoxserver.cluster.data.SFSGameNodeprocess(java.lang.Object params)The custom logic inside this method must select one Game Node among those connected to the cluster and return it so that operations (such as Match Making and Game joining) can be delegated to the specific node.
-
-
-
Method Detail
-
init
void init()
Used for custom initialization if necessary
-
process
com.smartfoxserver.cluster.data.SFSGameNode process(java.lang.Object params)
The custom logic inside this method must select one Game Node among those connected to the cluster and return it so that operations (such as Match Making and Game joining) can be delegated to the specific node.- Returns:
- a valid Game Node
- See Also:
SFSGameNode
-
-