01: /*
02: * Created on 26/06/2006
03: *
04: * Swing Components - visit http://sf.net/projects/gfd
05: *
06: * Copyright (C) 2004 Igor Regis da Silva Simões
07: *
08: * This program is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU General Public License
10: * as published by the Free Software Foundation; either version 2
11: * of the License, or (at your option) any later version.
12: *
13: * This program is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU General Public License for more details.
17: *
18: * You should have received a copy of the GNU General Public License
19: * along with this program; if not, write to the Free Software
20: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21: */
22: package br.com.gfp.data;
23:
24: import br.com.gfpshare.config.GrupoDePropriedades;
25:
26: /**
27: * @author Igor Regis da Silva Simoes
28: */
29: public interface ConfigRede extends GrupoDePropriedades {
30: /**
31: * Determina se deve ser ou não usado proxy para conectar-se a itnernet
32: * @param use
33: */
34: public void setUseProxy(Boolean use);
35:
36: /**
37: * Indica o endereço/nome do proxy a ser usado
38: * @param proxy
39: */
40: public void setProxy(String proxy);
41:
42: /**
43: * Indica a porta em que o proxy atende
44: * @param port
45: */
46: public void setProxyPort(Integer port);
47:
48: /**
49: * Indica o uusário a ser usado para autenticar no proxy
50: * @param user
51: */
52: public void setProxyUser(String user);
53:
54: /**
55: * Indica se é pra usar proxy
56: * @return
57: */
58: public Boolean getUseProxy();
59:
60: /**
61: * Reotrna o endereço/nome do proxy
62: * @return
63: */
64: public String getProxy();
65:
66: /**
67: * Retorna a porta do proxy
68: * @return
69: */
70: public Integer getProxyPort();
71:
72: /**
73: * Indica se é necessária a autenticação de usuario
74: * @param need
75: */
76: public void setNeedUser(Boolean need);
77:
78: /**
79: * Indica se é necessária a autenticação de usuario
80: * @return
81: */
82: public Boolean getNeedUser();
83:
84: /**
85: * Usuário a ser usado para autenticar no proxy
86: * @return
87: */
88: public String getProxyUser();
89: }
|