Package serverui
Class Controller
java.lang.Object
serverui.Controller
- All Implemented Interfaces:
javafx.fxml.Initializable
Additional Graphical interface for server management.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) javafx.scene.control.ButtonServer shutdown button.private static ServerApp(package private) javafx.scene.control.LabelText label, shows the mode of operation of the server. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStops the server and closes the network connection.voidinitialize(URL location, ResourceBundle resources) Starts the server in a parallel thread.
-
Field Details
-
server
-
textLable
javafx.scene.control.Label textLableText label, shows the mode of operation of the server. -
buttonClose
javafx.scene.control.Button buttonCloseServer shutdown button.
-
-
Constructor Details
-
Controller
public Controller()
-
-
Method Details
-
closeConnection
public void closeConnection()Stops the server and closes the network connection. -
initialize
Starts the server in a parallel thread.- Specified by:
initializein interfacejavafx.fxml.Initializable- Parameters:
location- an unused parameter.resources- an unused parameter.
-