Class AbstractSocket

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.net.Socket socket  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractSocket​(java.net.Socket socket)
      Initializes a socket.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket getSocket()
      Gets the socket.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • socket

        protected final java.net.Socket socket
    • Constructor Detail

      • AbstractSocket

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

      • getSocket

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