Indentations break the feed.
[SquirrelJME.git] / modules / dio-watchdog / src / main / java / jdk / dio / watchdog / WatchdogTimer.java
blobfe4853ebd2ab2d36a1de580a952ef3bb0d4184b0
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package jdk.dio.watchdog;
12 import cc.squirreljme.runtime.cldc.annotation.Api;
13 import java.io.IOException;
14 import jdk.dio.ClosedDeviceException;
15 import jdk.dio.Device;
16 import jdk.dio.UnavailableDeviceException;
18 @SuppressWarnings("DuplicateThrows")
19 @Api
20 public interface WatchdogTimer
21 extends Device<WatchdogTimer>
23 @Api
24 boolean causedLastReboot()
25 throws IOException, UnavailableDeviceException,
26 ClosedDeviceException;
28 @Api
29 long getMaxTimeout()
30 throws IOException, UnavailableDeviceException,
31 ClosedDeviceException;
33 @Api
34 long getTimeout()
35 throws IOException, UnavailableDeviceException,
36 ClosedDeviceException;
38 @Api
39 void refresh()
40 throws IOException, UnavailableDeviceException,
41 ClosedDeviceException;
43 @Api
44 void start(long __a)
45 throws IOException, UnavailableDeviceException,
46 ClosedDeviceException;
48 @Api
49 void stop()
50 throws IOException, UnavailableDeviceException,
51 ClosedDeviceException;