Class AbstractSocket

    • Field Detail

      • socket

        protected final Socket socket
    • Constructor Detail

      • AbstractSocket

        protected AbstractSocket​(Socket socket)
        Initializes a socket.
        Parameters:
        socket - the socket to initialize.
    • Method Detail

      • getSocket

        public Socket getSocket()
        Gets the socket.
        Returns:
        the socket.