Class ServerNode
java.lang.Object
VASSAL.chat.node.Node
VASSAL.chat.node.ServerNode
- All Implemented Interfaces:
MsgSender
- Direct Known Subclasses:
AsynchronousServerNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisconnect(Node target) voidgetMsgSender(String path) voidkick(PlayerNode kicker, String kickeeId) One client has requested to kick another out of a room.voidvoidregisterNode(String parentPath, Node newNode) protected voidsendContents(Node module) voidupdateInfo(Node target) Methods inherited from class Node
add, build, buildWithInfo, equals, getChild, getChildren, getDescendant, getId, getInfo, getInfoProperty, getLeafDescendants, getParent, getPath, getPathAndInfo, hashCode, isLeaf, remove, send, setInfo, setParent, toStringModifier and TypeMethodDescriptionvoidstatic NodeConstructs from a path name.buildWithInfo(Node base, String pathAndInfo) Builds a Node from a pathAndInfo stringbooleanreturn the child node with the given id, or null if no matchNode[]getDescendant(String path) Return the descendant node with the given path relative to this nodegetId()getInfo()getInfoProperty(String propName) Node[]getPath()Return a string in the format parentId=parentInfo/childId=childInfo/...inthashCode()booleanisLeaf()voidvoidvoidvoidtoString()
-
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:
kicker- Id of Kicking playerkickeeId- Id of Player to be kicked
-