|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface to configure the integrated HTTP server.
ChangeLog:
$Log: HttpServerInterface.java,v $ Revision 1.2 2001/06/04 14:21:10 jiriki Made source more comliant to coding guidelines. Revision 1.1.1.1 2001/04/29 18:05:18 jiriki Imported sources from zola. Revision 1.2 2001/03/19 21:50:49 wombat - Worked on admin client. - improved shutdown sequence - removed bugs in login/logout sequence Revision 1.1 2001/03/18 17:33:02 wombat Changed database concept
| Method Summary | |
java.lang.String |
getDirectory()
Return the directory the http server serves. |
int |
getPort()
Return the port of the http server. |
boolean |
isRunning()
Returns if the HttpServer is running. |
void |
setDirectory(java.lang.String directory)
Set the directory the http server serves. |
void |
setPort(int port)
Set the port the http server is running on. |
void |
setRunning(boolean running)
Set if the htp server should be running. |
| Method Detail |
public boolean isRunning()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setRunning(boolean running)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
running - true if the http server should be running.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public int getPort()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setPort(int port)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
port - The port of the HttpServer.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public java.lang.String getDirectory()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setDirectory(java.lang.String directory)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
directory - Directory the http server serves.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||