/** *
* ServerPrefs contains parameters used by the RandomByteServer */ public class ServerPrefs { /** the maximum number of bytes the server should have in its pool */ int poolSize = 20; /** the maximum number of bytes a user can obtain from the server at one time */ int reqSize = 8; /** the port to listen for packets arriving from the clients */ int collPort = 4000; /** the port to accept request for random byte sequences on */ int reqPort = 5007; /** maximum number of connections to queue on the TCP request socket */ int reqPortQueue = 15; }