PVF Server

The best server written in Java

SourceForge.net Logo

PVFServer > Users Guide | Developers Guide | Links

 

Home

 Users

 

What is PVFServer?

 

Downloads

 

User FAQ

 

Support

 Web Developers

 

General info

 

Documentation

 

Web Developer FAQ

 Server Developers

 

General info

 

Documentation

 

Server Developer FAQ

 Site Info

 

Recent News

 

Release Notes

 

Advertising

 

Submit links & news

 

License

 

Logos

Q: How can I write a module to handle a certain protocol?

   All you have to do is extend the GeneralServer class. It's very easy. Please read the JavaDoc generated documentation for details and also take a look at the built-in servers (they also extend this class).

   The process of building a server has two parts. First you must define the part that will listen for incoming connections. This part is generally the same for all servers, so you should look at the existing servers. After this, you must define a second part that will interact with the client to process commands. This part can be called a 'shell'. This shell is invoked by the first part with some arguments (like the incoming socket).

   Also the main class of the module must define the properties that can be modified by the server administrator. This is also an easy to do process. Read the JavaDoc for details.

   If you have more questions please post some messages in the forum. (Please read the available documentation before)

The previous question

Go to the FAQ Contents page

The next question

 Recommended Links Recommended Links

 

      If you like PVF Server you should also visit my site http://pvf.cbi.ro.
     Here you can find some more information regarding this project, and also some things about my other projects.

Home | Users | Developers | News | Links