suncertify.server
Class Server

java.lang.Object
  |
  +--suncertify.server.Server
All Implemented Interfaces:
ConfigChangeListener, LoggerSupport

public class Server
extends java.lang.Object
implements LoggerSupport, ConfigChangeListener

The class represents the server applications. It has simple gui that can perform configuration changing and loggs all important action taken by clients moreover it can display the list of all active clients. Server implements two interfaces LoggerSupport and ConfigChangeListener. First is used by QueryInterfaceImpl object that is a remote gateway to the server, second can handle configuration change situations.

See Also:
QueryInterfaceImpl, ConfigSetter

Constructor Summary
Server()
          Creates server GUI and according to the current configuration makes remote access possible.
 
Method Summary
 void configChanged()
          Method required by ConfigChangeListener interface.
 void log(java.lang.String text)
          Method required by LoggerSupport interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
Creates server GUI and according to the current configuration makes remote access possible.

Method Detail

log

public void log(java.lang.String text)
Method required by LoggerSupport interface. It performs logging in the server log window

Specified by:
log in interface LoggerSupport
Parameters:
text - - text to be logged
See Also:
LoggerSupport

configChanged

public void configChanged()
Method required by ConfigChangeListener interface. It is called when configuration has changed. It displays popup window informing that server restart is required for changes to take effect.

Specified by:
configChanged in interface ConfigChangeListener
See Also:
ConfigChangeListener