Class ServerNode

java.lang.Object
VASSAL.chat.node.Node
VASSAL.chat.node.ServerNode
All Implemented Interfaces:
MsgSender
Direct Known Subclasses:
AsynchronousServerNode

public class ServerNode extends Node
  • Constructor Details

    • ServerNode

      public ServerNode()
  • Method Details

    • forward

      public void forward(String senderPath, String msg)
    • getMsgSender

      public MsgSender getMsgSender(String path)
    • disconnect

      public void disconnect(Node target)
    • sendContents

      protected void sendContents(Node module)
    • registerNode

      public void registerNode(String parentPath, Node newNode)
    • getModule

      public Node getModule(Node n)
    • move

      public void move(Node target, String newParentPath)
    • updateInfo

      public void updateInfo(Node target)
    • kick

      public void kick(PlayerNode kicker, String kickeeId)
      One client has requested to kick another out of a room. Validate that - Both players are in the same room - Kicker is the owner of the room
      Parameters:
      kicker - Id of Kicking player
      kickeeId - Id of Player to be kicked