/* * Copyright (C) 2009 Manish Pandya, [manish at meetamanish dot com] * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * */ package org.hooliguns.ninja.telnet.teensyninja; import org.hooliguns.ninja.telnet.ValueOutOfRangeException; /** * * @author Manish Pandya (March 1 2009) * */ public class Pause extends org.hooliguns.ninja.telnet.phiPiMod.Pause { /** * uint32_t MAX (8589934590) / 7813 = 199441 seconds */ public static final int PAUSE_MAX = 199441; /** * 0 (no pause) */ public static final int PAUSE_MIN = 0; /** * Creates a Pause command with desired interval (in one tenth of a second) * * @param interval * desired interval (in one tenth of a second) * @throws ValueOutOfRangeException * when desired interval is out of range */ public Pause(int interval) throws ValueOutOfRangeException { super(interval); } }