org.vigia.server.communications
Interface ControlListener


public interface ControlListener

A listener to obtain control messages from the client.

Author:
jrios

Method Summary
 void initReceived(int pan, int tilt, int zoom)
          Receives the initial position of the camera.
 void moveReceived(int dPan, int dTilt, int dZoom)
          Receives a move command from the client.
 

Method Detail

initReceived

void initReceived(int pan,
                  int tilt,
                  int zoom)
Receives the initial position of the camera.

Parameters:
pan - initial pan position.
tilt - initial tilt position.
zoom - initial zoom position.

moveReceived

void moveReceived(int dPan,
                  int dTilt,
                  int dZoom)
Receives a move command from the client.

Parameters:
dPan - increment of pan.
dTilt - increment of tilt.
dZoom - increment of zoom.