|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.communication.messages.Message | +--gecco.communication.messages.UnitVisibleMessage
This message is put in the send queue on the server part of the communication, when the server calls unitVisible
Field Summary | |
Set |
blockedActions
Description of the Field |
int |
handle
Description of the Field |
String |
name
Description of the Field |
Map |
properties
Description of the Field |
String |
type
Description of the Field |
Set |
unblockedActions
Description of the Field |
double |
x
Description of the Field |
double |
y
Description of the Field |
Constructor Summary | |
UnitVisibleMessage(int handle,
String name,
String type,
double x,
double y,
Set unblockedActions,
Set blockedActions,
Map properties)
Constructor for the UnitVisibleMessage object |
Method Summary | |
static Message |
read(DataInput in)
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object. |
void |
write(DataOutput out)
This method writes the message to the given DataOutput . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int handle
public String name
public String type
public double x
public double y
public Set unblockedActions
public Set blockedActions
public Map properties
Constructor Detail |
public UnitVisibleMessage(int handle, String name, String type, double x, double y, Set unblockedActions, Set blockedActions, Map properties)
handle
- Description of Parametername
- Description of Parametertype
- Description of Parameterx
- Description of Parametery
- Description of ParameterunblockedActions
- Set of unblocked actionDefinitionsblockedActions
- Set of blocked actionDefinitionsproperties
- Description of ParameterMethod Detail |
public void write(DataOutput out) throws IOException
DataOutput
.write
in class Message
out
- The output stream.IOException
- In case something goes wrong.public static Message read(DataInput in) throws IOException
Message
object.in
- The input stream.Message
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |