|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.protocol.Request
public abstract class Request
Abstraction of all requests that might come from a team. There is one type of feedback request and several types of command requests all of which extend this type.
Nested Class Summary | |
---|---|
static class |
Request.RequestType
|
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
Most log messages are for simulator. |
protected static java.util.logging.Logger |
mClientLog
Log to mClientLog when request is being constructed on team |
protected Request.RequestType |
mType
The request type. |
Constructor Summary | |
---|---|
Request()
|
Method Summary | |
---|---|
static Request |
factory(java.lang.String req)
Factory for all requests. |
Request.RequestType |
getType()
Get the type of this request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Request.RequestType mType
protected static java.util.logging.Logger log
protected static java.util.logging.Logger mClientLog
Constructor Detail |
---|
public Request()
Method Detail |
---|
public static Request factory(java.lang.String req) throws ParseException
req
- request text
ParseException
public Request.RequestType getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |