org.vigia.client.communications
Class DataComunicator

java.lang.Object
  extended by org.vigia.client.communications.DataComunicator

public class DataComunicator
extends java.lang.Object

Implements the client data communication.

Author:
jrios

Constructor Summary
DataComunicator()
           
 
Method Summary
 void addFrameListener(FrameListener frameListener)
          Adds a listener to obtain the frames from the remote camera.
 int getPort()
          Gets the UDP port of the data communicator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataComunicator

public DataComunicator()
Method Detail

addFrameListener

public void addFrameListener(FrameListener frameListener)
Adds a listener to obtain the frames from the remote camera.

Parameters:
frameListener - an implementation of the data listener.

getPort

public int getPort()
Gets the UDP port of the data communicator.

Returns:
the port of the data communicator.