Interface ILoadBalancer

  • All Known Implementing Classes:
    BaseLoadBalancer

    public interface ILoadBalancer
    Introduction or link to the documentation
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init()
      Used for custom initialization if necessary
      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.
    • 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