org.vigia.server.communications
Interface CommandListener

All Known Implementing Classes:
CameraCommandListener

public interface CommandListener

A listener to obtain control messages from the client.

Author:
jrios

Method Summary
 void onClose()
          Close the video streaming.
 void onInit(int clientPort)
          Initializes the camera and starts the video streaming to the client.
 void onMove(int pan, int tilt, int zoom)
          Receives a move command from the client.
 

Method Detail

onMove

void onMove(int pan,
            int tilt,
            int zoom)
Receives a move command from the client.

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

onInit

void onInit(int clientPort)
Initializes the camera and starts the video streaming to the client.

Parameters:
clientPort - The client's port.

onClose

void onClose()
Close the video streaming.