|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.udk.communication.messages.GBEvent cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.Password
public class Password
Sent during handshake telling you the server is protected by the password and that you have to provide one to be able to communicate with it. Corresponding GameBots message is PASSWORD.
Field Summary | |
---|---|
protected String |
BlockedByIp
IP:Port who has blocked the server |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
Password()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
Password(Password original)
Cloning constructor. |
|
Password(String BlockedByIp)
Creates new instance of command Password. |
Method Summary | |
---|---|
String |
getBlockedByIp()
IP:Port who has blocked the server |
long |
getSimTime()
|
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.udk.communication.messages.GBEvent |
---|
getWorldEvent |
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected String BlockedByIp
Constructor Detail |
---|
public Password(String BlockedByIp)
BlockedByIp
- IP:Port who has blocked the serverpublic Password(Password original)
public Password()
Method Detail |
---|
public String getBlockedByIp()
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
getSimTime
in class GBEvent
public String toString()
toString
in class InfoMessage
public String toHtmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |