gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.util / org.gvsig.tools.util.api / src / main / java / org / gvsig / simplehttpservice / SimpleServerConfig.java @ 2213
History | View | Annotate | Download (1.01 KB)
1 |
|
---|---|
2 |
package org.gvsig.simplehttpservice; |
3 |
|
4 |
import java.beans.PropertyChangeListener; |
5 |
import java.util.Collection; |
6 |
import java.util.List; |
7 |
import org.gvsig.simplehttpservice.commands.CommandFactory; |
8 |
import org.gvsig.simplehttpservice.commands.CommandFactory; |
9 |
|
10 |
/**
|
11 |
*
|
12 |
* @author gvSIG Team
|
13 |
*/
|
14 |
public interface SimpleServerConfig { |
15 |
|
16 |
public int getPort(); |
17 |
|
18 |
public int getTimeout(); |
19 |
|
20 |
public String getServerInfo(); |
21 |
|
22 |
public SimpleServerConfig setPort(int port); |
23 |
|
24 |
public SimpleServerConfig setTimeout(int timeout); |
25 |
|
26 |
public SimpleServerConfig setServerInfo(String serverInfo); |
27 |
|
28 |
public SimpleServerConfig addCommandFactory(CommandFactory factory);
|
29 |
|
30 |
public void removeCommandFactory(String name); |
31 |
|
32 |
public void removeCommandFactory(CommandFactory factory); |
33 |
|
34 |
public Collection<CommandFactory> getCommandFactories(); |
35 |
|
36 |
public void addPropertyChangeListener(PropertyChangeListener listener); |
37 |
|
38 |
public void removePropertyChangeListener(PropertyChangeListener listener); |
39 |
|
40 |
} |