|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrcssjava.comm.RCSSParser
public class RCSSParser
Parses incoming server messages and uses them to update the supplied world state. Contains private methods to handle each type of message.
Constructor Summary | |
---|---|
RCSSParser(WorldState WS,
ServerParams SP)
Constructs a parser using the given world state and server params |
Method Summary | |
---|---|
boolean |
analyzeMessage(java.lang.String msg)
Parse a server message and update the world state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RCSSParser(WorldState WS, ServerParams SP)
WS
- world state connected to this parserSP
- server parametersMethod Detail |
---|
public boolean analyzeMessage(java.lang.String msg)
msg
- server message
true
if successful
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |