Class SSLServer


  • public abstract class SSLServer
    extends Server
    • Constructor Detail

      • SSLServer

        public SSLServer​(int port)
    • Method Detail

      • openServerSocket

        protected void openServerSocket()
        Description copied from class: Server
        Opens the ServerSocket. Moved to a different function to make it easier to replace the ServerSocket implementation.
        Overrides:
        openServerSocket in class Server
      • processReceivedData

        protected abstract void processReceivedData​(java.lang.String clientAddress,
                                                    byte[] data)
        Description copied from class: Server
        This function will be called once the server receives data from the client.
        Specified by:
        processReceivedData in class Server
        Parameters:
        clientAddress - of the client the data came from
        data - sent by the server