All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class beacon.BServer

java.lang.Object
   |
   +----beacon.BServer

public class BServer
extends Object
implements Runnable
The BServer handles client transactions. Currently, it handles: All transactions except REQLOC are authenticated.

It takes a port number and a database file as arguments. For example,

java beacon.BServer 80 userdatabase.dat
It creates a new database if one does not already exist and starts with an empty user location database.

It starts a ServerMaintentanceSthread which expires locations which are not ponging, periodically dumps the database, and expires aliases that haven't been used in over a certain amount of time (currently infinite).


Method Index

 o main(String[])
 o run()

Methods

 o main
 public static void main(String args[])
 o run
 public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index