01: /*
02: * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights
03: * Reserved.
04: *
05: * This source code file is distributed by Lutris Technologies, Inc. for
06: * use only by licensed users of product(s) that include this source
07: * file. Use of this source file or the software that uses it is covered
08: * by the terms and conditions of the Lutris Enhydra Development License
09: * Agreement included with this product.
10: *
11: * This Software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
12: * ANY KIND, either express or implied. See the License for the specific terms
13: * governing rights and limitations under the License.
14: *
15: * Contributor(s):
16: *
17: * $Id: Update.java,v 1.1 2006-09-11 12:29:26 sinisa Exp $
18: */
19:
20: package com.lutris.airsent.spec.delivery;
21:
22: import com.lutris.airsent.spec.AirSentException;
23:
24: /**
25: * Interface declaration
26: *
27: *
28: * @author joseph shoop
29: * @version %I%, %G%
30: */
31: public interface Update {
32:
33: /**
34: * Provides the time for an update.
35: *
36: *
37: * @param browserState
38: * @param wait
39: *
40: * @return
41: *
42: *
43: */
44: public long needUpdate(long browserState, long wait)
45: throws AirSentException;
46:
47: /**
48: * Set the update state.
49: *
50: *
51: * @param updateState
52: *
53: *
54: */
55: public void setUpdateState(long updateState);
56:
57: /**
58: * Gets the update state.
59: *
60: *
61: * @return
62: *
63: *
64: */
65: public long getUpdateState();
66: }
|