game.protocol
Class WantSideRequest

java.lang.Object
  extended by game.protocol.Request
      extended by game.protocol.WantSideRequest

public class WantSideRequest
extends Request


Nested Class Summary
 
Nested classes/interfaces inherited from class game.protocol.Request
Request.RequestType
 
Field Summary
 
Fields inherited from class game.protocol.Request
log, mClientLog, mType
 
Constructor Summary
WantSideRequest(Side prefSide)
           
WantSideRequest(java.lang.String req)
           
 
Method Summary
 Side getSide()
           
 java.lang.String toString()
           
 
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

WantSideRequest

public WantSideRequest(java.lang.String req)
                throws ParseException
Throws:
ParseException

WantSideRequest

public WantSideRequest(Side prefSide)
Method Detail

getSide

public Side getSide()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object