Create a server with the ServerConfig
Create a server with the ServerConfig
Contains the desired configuration of this Server
The IOSystem to which this Server will belong
ServerRef which encapsulates the created Server
Create a Server with this name and port and use a Colossus provided delegator to invoke the ConnectionHandler factory function
Create a Server with this name and port and use a Colossus provided delegator to invoke the ConnectionHandler factory function
Name of this Server
Port on which this Server will accept connections
The factory function to generate ConnectionHandlers. This will run inside of a very simple Delegator.
The IOSystem to which this Server will belong
ServerRef which encapsulates the created Server
Servers can be thought of as applications, as they provide Delegators and ConnectionHandlers which contain application logic. Servers are the objects that are directly interface with the Workers and provide them with the Delegators and Handlers. A Server will be "registered" with the Workers, and after a successful registration, it will then bind to the specified ports and be ready to accept incoming requests.
Also this includes all of the messages that Server will respond to. Some of these can cause actions, others are for when some internal event happens and the Server is notified.