|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Communicator
The common interface for all the client communication implementations.
Method Summary | |
---|---|
void |
addFrameListener(FrameListener dataListener)
Adds a listener to obtain the frames from the remote camera. |
void |
addLogListener(LogListener controlListener)
Adds a listener to obtain control messages from the remote camera. |
void |
close()
Closes the communication with the camera. |
boolean |
isClosed()
Check if the communications are closed. |
void |
move(int pan,
int tilt,
int zoom)
Send to the remote camera a move command in an absolute way. |
Method Detail |
---|
void addFrameListener(FrameListener dataListener)
dataListener
- an implementation of the data listener.void addLogListener(LogListener controlListener)
controlListener
- an implementation of the control listener.void move(int pan, int tilt, int zoom) throws java.io.IOException
pan
- pan position.tilt
- tilt position.zoom
- zoom position.
java.io.IOException
- Error sending the command.void close() throws java.io.IOException
java.io.IOException
- Error closing the communications.boolean isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |