| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SyncListener |
|
| 1.0;1 |
| 1 | /** | |
| 2 | * Copyright 2008 WebPhotos | |
| 3 | * | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | /* | |
| 17 | * SyncListener.java | |
| 18 | * | |
| 19 | * Created on 19 de Maio de 2006, 15:48 | |
| 20 | * | |
| 21 | * To change this template, choose Tools | Template Manager | |
| 22 | * and open the template in the editor. | |
| 23 | */ | |
| 24 | ||
| 25 | package net.sf.webphotos.sync; | |
| 26 | ||
| 27 | import java.util.EventListener; | |
| 28 | ||
| 29 | /** | |
| 30 | * Interface ouvinte da sincronização. | |
| 31 | * Herda a classe EventListener. | |
| 32 | * Cria três métodos públicos que recebem eventos de sincronização, da classe | |
| 33 | * {@link net.sf.webphotos.sync.SyncEvent SyncEvent}. | |
| 34 | * @author guilherme | |
| 35 | */ | |
| 36 | public interface SyncListener extends EventListener { | |
| 37 | ||
| 38 | /** | |
| 39 | * Trabalha o evento para apresentar a conexão ao FTP. | |
| 40 | * @param event Evento de sincronização. | |
| 41 | */ | |
| 42 | public void connected(SyncEvent event); | |
| 43 | ||
| 44 | /** | |
| 45 | * Trabalha o evento para apresentar o início do logon. | |
| 46 | * @param event Evento de sincronização. | |
| 47 | */ | |
| 48 | public void logonStarted(SyncEvent event); | |
| 49 | ||
| 50 | /** | |
| 51 | * Trabalha o evento para apresentar a desconexão do FTP. | |
| 52 | * @param event Evento de sincronização. | |
| 53 | */ | |
| 54 | public void disconnected(SyncEvent event); | |
| 55 | } |