|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Communication
The common interface for all the communication implementations.
Nested Class Summary | |
---|---|
static class |
Communication.EError
The different kinds of errors. |
Method Summary | |
---|---|
void |
addControlListener(ControlListener controlListner)
Adds a listener to obtain control messages from the remote camera. |
void |
addDataListener(DataListener dataListener)
Adds a listener to obtain the frames from the remote camera. |
void |
init(int pan,
int tilt,
int zoom)
Initializes the remote camera properly, moves it to the start position and starts the video transmission. |
void |
move(int dPan,
int dTilt,
int dZoom)
Send to the remote camera a move command in a relative way. |
Method Detail |
---|
void addDataListener(DataListener dataListener)
dataListener
- an implementation of the data listener.void addControlListener(ControlListener controlListner)
controlListner
- an implementation of the control listener.void init(int pan, int tilt, int zoom)
pan
- initial pan position.tilt
- initial tilt position.zoom
- initial zoom position.void move(int dPan, int dTilt, int dZoom)
dPan
- increment of pan.dTilt
- increment of tilt.dZoom
- increment of zoom.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |