|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommunicationInterface
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface uk.ac.ed.inf.sdp2012.group7.control.ConstantsReuse |
|---|
ConstantsReuse.OpCodes |
| Field Summary |
|---|
| Fields inherited from interface uk.ac.ed.inf.sdp2012.group7.control.ConstantsReuse |
|---|
ROBOT_MAC, ROBOT_NAME |
| Method Summary | |
|---|---|
void |
closeConnection()
|
void |
openConnection()
|
int |
recieveFromRobot()
|
ConstantsReuse.OpCodes |
sendToRobot(byte[] command)
Sends a command to the robot |
| Method Detail |
|---|
ConstantsReuse.OpCodes sendToRobot(byte[] command)
command - - The command to send (4 bytes)
int recieveFromRobot()
void openConnection()
throws java.io.IOException
java.io.IOExceptionvoid closeConnection()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||