All Classes Functions Variables
Public Member Functions | Static Private Attributes | List of all members
com.server.Server Class Reference

This class acts as the basic port handler, and contains the primary server loop. More...

Public Member Functions

void startServer ()
 This method acts as the main thread starter for the program. More...
 
void spinupServerSocket (ServerSocket listen, int udpPort)
 method spinupServerSocket This method starts all of the connetions, and listens in a loop to all of them.
 

Static Private Attributes

static final int HTTP_PORT = 3962
 http upload and download port
 
static final int UDP_UPLOAD_PORT = 6001
 UDP Upload port.
 
static final int UDP_DOWNLOAD_PORT = 9999
 UDP Download port.
 
static final int TCP_UPLOAD_PORT = 8080
 TCP Upload port.
 
static final int TCP_DOWNLOAD_PORT = 8000
 TCP Downlaod port.
 

Detailed Description

This class acts as the basic port handler, and contains the primary server loop.

All Port handling, and handing off to threads, essentially happens here.

Author
William Daniels
Version
1.1

Member Function Documentation

void com.server.Server.startServer ( )
inline

This method acts as the main thread starter for the program.

kicks off all the threads.


The documentation for this class was generated from the following file: