Class ClusterTarget


  • public class ClusterTarget
    extends java.lang.Object
    Represents a target Room on a Cluster Game Node
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterTarget​(java.lang.String serverId, int roomId)
      Represents a target Room on a Cluster Game Node
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getRoomId()  
      java.lang.String getServerId()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClusterTarget

        public ClusterTarget​(java.lang.String serverId,
                             int roomId)
        Represents a target Room on a Cluster Game Node
        Parameters:
        serverId - the id of the server hosting the Room
        roomId - the Room id that will be joined
        See Also:
        SmartFox.getNodeId()
    • Method Detail

      • getServerId

        public java.lang.String getServerId()
        Returns:
        the id of the target server
      • getRoomId

        public int getRoomId()
        Returns:
        the id of the target Room to join