Class AsynchronousServerNode
java.lang.Object
VASSAL.chat.node.Node
VASSAL.chat.node.ServerNode
VASSAL.chat.node.AsynchronousServerNode
- All Implemented Interfaces:
MsgSender
Root node in a hierarchical server.
Represents the server process itself.
Children represent modules.
Children of modules represent rooms.
Children of rooms represent players.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ServerNode
disconnect, forward, getModule, getMsgSender, kick, move, registerNode, updateInfoModifier 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) 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
-
AsynchronousServerNode
-
-
Method Details
-
init
-
sendContents
- Overrides:
sendContentsin classServerNode
-