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 voiddisconnect(Node target)voidforward(String senderPath, String msg)NodegetModule(Node n)MsgSendergetMsgSender(String path)voidkick(PlayerNode kicker, String kickeeId)One client has requested to kick another out of a room.voidmove(Node target, String newParentPath)voidregisterNode(String parentPath, Node newNode)protected voidsendContents(Node module)voidupdateInfo(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
-