|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgame.protocol.Request
game.protocol.ControlRequest
game.protocol.SetTimeRequest
public class SetTimeRequest
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class game.protocol.Request |
|---|
Request.RequestType |
| Field Summary |
|---|
| Fields inherited from class game.protocol.ControlRequest |
|---|
mSide, mTime |
| Fields inherited from class game.protocol.Request |
|---|
log, mClientLog, mType |
| Constructor Summary | |
|---|---|
SetTimeRequest(int t,
int setT)
|
|
SetTimeRequest(java.lang.String req)
|
|
| Method Summary | |
|---|---|
void |
dispatch(ISimulatorNet sim)
Dispatch request to the simulator |
int |
getSetTime()
|
java.lang.String |
toString()
|
| Methods inherited from class game.protocol.ControlRequest |
|---|
getSide, getTime, setSide |
| Methods inherited from class game.protocol.Request |
|---|
factory, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetTimeRequest(java.lang.String req)
throws ParseException
ParseException
public SetTimeRequest(int t,
int setT)
throws SCOREException
SCOREException| Method Detail |
|---|
public void dispatch(ISimulatorNet sim)
ControlRequest
dispatch in class ControlRequestsim - simulator modelpublic int getSetTime()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||