1 /****************************************************************************** 2 * Server_SyncDao.java - Dao interface for the Server's sync table. 3 * 4 * PicMan - The BuckoSoft Picture Manager in Java 5 * Copyright(c) 2008 - Dick Balaska 6 * 7 */ 8 package com.buckosoft.PicMan.db; 9 10 import java.util.Date; 11 12 /** Dao interface for the Server's sync table. 13 * @author Dick Balaska 14 * @since 2008/12/06 15 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/com/buckosoft/PicMan/db/Server_SyncDao.java">Server_SyncDao.java</a> 16 */ 17 public interface Server_SyncDao { 18 19 /** Get the last time this client sync'd. 20 * @param host The host to fetch 21 * @return The date/time of sync or null if never synced. 22 */ 23 Date getClientTimestamp(String host); 24 25 /** Set the last time this client sync'd to now. 26 * @param host The host to fetch 27 */ 28 void setClientTimestamp(String host); 29 }