Package VASSAL.chat.node
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 Summary
Constructors Constructor Description ServerNode()
-
Method Summary
Modifier and Type Method Description void
disconnect(Node target)
void
forward(String senderPath, String msg)
Node
getModule(Node n)
MsgSender
getMsgSender(String path)
void
kick(PlayerNode kicker, String kickeeId)
One client has requested to kick another out of a room.void
move(Node target, String newParentPath)
void
registerNode(String parentPath, Node newNode)
protected void
sendContents(Node module)
void
updateInfo(Node target)
Methods inherited from class VASSAL.chat.node.Node
add, build, buildWithInfo, equals, getChild, getChildren, getDescendant, getId, getInfo, getInfoProperty, getLeafDescendants, getParent, getPath, getPathAndInfo, hashCode, isLeaf, remove, send, setInfo, setParent, toString
-
Constructor Details
-
ServerNode
public ServerNode()
-
-
Method Details
-
forward
-
getMsgSender
-
disconnect
-
sendContents
-
registerNode
-
getModule
-
move
-
updateInfo
-
kick
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:
kickerId
- Id of Kicking playerkickeeId
- Id of Player to be kicked
-