Package com.example.server.app
Class BaseServer
java.lang.Object
com.example.server.app.BaseServer
- All Implemented Interfaces:
Server
The BaseServer class implements the Server interface and represents the core server application.
-
Constructor Summary
ConstructorsConstructorDescriptionBaseServer
(int port, StreamIO streamIO, TransportFactory transportFactory) Constructor for BaseServer. -
Method Summary
-
Constructor Details
-
BaseServer
Constructor for BaseServer.- Parameters:
port
- The port on which the server will listen for connections.streamIO
- The StreamIO object for handling input/output operations.transportFactory
- The TransportFactory for creating TransportConnections.
-
-
Method Details