|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorbotix.robot.base.DeviceConnection
public class DeviceConnection
Low level API that handles sending command packets to a device.
Constructor Summary | |
---|---|
DeviceConnection(Robot robot)
Constructor for creating a new device connection for a robot. |
Method Summary | |
---|---|
void |
close()
Stops sending data closes the connection. |
void |
connect()
Creates the connection. |
Robot |
getRobot()
Accessor to the robot. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeviceConnection(Robot robot)
robot
- The robot used for the connection.Method Detail |
---|
public Robot getRobot()
public void connect()
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |