class MyServer extends it.unipi.di.vserver.Server {
public void MyServer() {
setPort(MY_PORT);
}
public void speak(it.unipi.di.Connection conn) {
// code to provide the service through conn
}
}
To start the server, one need just to register this class with it.unipi.di.vserver.ServerManager. The server can accept multiple clients and keeps track of the accesses. The classes in the package are customizable through inheritance. Some other features of the framework are: