KoSI KoSI Bridge
Version 0.3

Server

 


Overview

Starts the server.
Options

server [ configuration_file ]
If no configuration file is present, the default configuration "kosi_server.properties" is used.
Configuration File

The default configuration file looks like:
connectionTimeout=300000
readTimeout=900000
weak_encryption=true

user_ping_interval=180
user_offline_timeout=180

dbdir=db
sslprovider=com.sun.net.ssl.internal.ssl.Provider
Description of the configuration entries:
  • connectionTimeout - Timeout for unused connections (in milliseconds). Default is 5 minutes.
  • readTimeout - Timeout while waiting for the return of a call to a client (in milliseconds). Default is 15 minutes.
  • weakEncryption - Wether to use weak encryption. If turned on, only 32-bit random numbers are used while generating session keys. This reduces security, but increases performance a lot.
  • user_ping_interval - Interval the user is pinged in (in seconds). This is the maximum time the server will take to find out, when a user has disconnected without logging out. Defai
  • user_offline_timeout - Interval the user object is destroyed after the user has disconnected (in seconds). If the user reconnects in the meantime, he can resume his session.
  • dbdir - Directory the database is found in (relative to the KoSI root directory).
  • sslprovider - Provider used for SSL.
Please only change the entries, if you know exactly, what you are doing.
Examples

Start the server:
  ./server 

  Starting Server
  2001-09-01 15:53:06,337 [ main] INFO   de.kosi.Server  - KoSI Server started.