public class FastTrace extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected Location |
From
Origin point of the ray.
|
protected String |
Id
Message Id made up by you and echoed in response so you can
match up response with query.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected Location |
To
Target point of the ray.
|
| Constructor and Description |
|---|
FastTrace()
Creates new instance of command FastTrace.
|
FastTrace(FastTrace original)
Cloning constructor.
|
FastTrace(String Id,
Location From,
Location To)
Creates new instance of command FastTrace.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
getFrom()
Origin point of the ray.
|
String |
getId()
Message Id made up by you and echoed in response so you can
match up response with query.
|
Location |
getTo()
Target point of the ray.
|
FastTrace |
setFrom(Location From)
Origin point of the ray.
|
FastTrace |
setId(String Id)
Message Id made up by you and echoed in response so you can
match up response with query.
|
FastTrace |
setTo(Location To)
Target point of the ray.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected String Id
protected Location From
protected Location To
public FastTrace(String Id, Location From, Location To)
Id - Message Id made up by you and echoed in response so you can
match up response with query.From - Origin point of the ray. If you won't support From
attribute, current bot location will be taken as From.To - Target point of the ray.public FastTrace()
public FastTrace(FastTrace original)
original - public String getId()
public FastTrace setId(String Id)
public Location getFrom()
public FastTrace setFrom(Location From)
public Location getTo()
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.