public class Password extends GBEvent implements IWorldEvent, IWorldChangeEvent
Modifier and Type | Field and Description |
---|---|
protected String |
BlockedByIp
IP:Port who has blocked the server
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getBlockedByIp()
IP:Port who has blocked the server
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
getWorldEvent
toJsonLiteral
public static final String PROTOTYPE
protected String BlockedByIp
public Password(String BlockedByIp)
BlockedByIp
- IP:Port who has blocked the serverpublic Password(Password original)
public Password()
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()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.