|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.services.SynergyNetService
synergynetframework.appsystem.services.net.filestore.FileStoreServer
public class FileStoreServer
The Class FileStoreServer.
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
The Constant SERVICE_NAME. |
static java.lang.String |
SERVICE_TYPE
The Constant SERVICE_TYPE. |
static int |
TCP_PORT
The Constant TCP_PORT. |
| Constructor Summary | |
|---|---|
FileStoreServer()
Instantiates a new file store server. |
|
| Method Summary | |
|---|---|
boolean |
hasStarted()
Checks for started. |
void |
run()
|
void |
setDirectory(java.io.File file)
Sets the directory. |
void |
shutdown()
Shutdown. |
void |
start()
Start. |
void |
stop()
Stop. |
void |
update()
Used to avoid threading issues. |
| Methods inherited from class synergynetframework.appsystem.services.SynergyNetService |
|---|
registerServiceMessageListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVICE_NAME
public static final java.lang.String SERVICE_TYPE
public static final int TCP_PORT
| Constructor Detail |
|---|
public FileStoreServer()
| Method Detail |
|---|
public boolean hasStarted()
SynergyNetService
hasStarted in class SynergyNetServicepublic void run()
run in interface java.lang.Runnablepublic void setDirectory(java.io.File file)
file - the new directorypublic void shutdown()
SynergyNetService
shutdown in class SynergyNetService
public void start()
throws CouldNotStartServiceException
SynergyNetService
CouldNotStartServiceException - the could not start service exception
public void stop()
throws ServiceNotRunningException
SynergyNetService
stop in class SynergyNetServiceServiceNotRunningException - the service not running exceptionpublic void update()
SynergyNetService
update in class SynergyNetService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||