java.lang.Object
model.logic.host.MySocket
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe getPlayerSocket function returns the playerSocket variable.
-
Constructor Details
-
MySocket
The MySocket function is a constructor that takes in a Socket object and assigns it to the playerSocket variable.- Parameters:
playerSocket- playerSocket Create a socket for the player
-
-
Method Details
-
getPlayerSocket
The getPlayerSocket function returns the playerSocket variable.- Returns:
- The player socket variable
-