001package com.github.sarxos.webcam.ds.ipcam;
002
003import javax.xml.bind.annotation.XmlEnum;
004import javax.xml.bind.annotation.XmlEnumValue;
005
006
007/**
008 * How to obtain new images from IP cameras.
009 * 
010 * @author Bartosz Firyn (SarXos)
011 */
012@XmlEnum
013public enum IpCamMode {
014
015        /**
016         * Device will pull image from IP camera.
017         */
018        @XmlEnumValue("pull")
019        PULL,
020
021        /**
022         * IP camera HTTP server will push new image to the device.
023         */
024        @XmlEnumValue("pull")
025        PUSH,
026
027}