Class Server.ConnectionIndex

  • Enclosing class:
    Server

    public class Server.ConnectionIndex
    extends java.lang.Object
    • Field Detail

      • object

        private java.lang.Object object
      • connection

        private java.net.Socket connection
      • hostname

        private java.lang.String hostname
      • host

        private java.lang.String host
      • parentServer

        private Server parentServer
    • Constructor Detail

    • Method Detail

      • getIndex

        public int getIndex()
        Returns:
        the index in the arraylist of server threads
      • getObject

        public java.lang.Object getObject()
        Returns:
        the object
      • setObject

        public void setObject​(java.lang.Object object)
        Parameters:
        object - the object to set
      • getConnection

        public java.net.Socket getConnection()
        Returns:
        the connection
      • getHostname

        public java.lang.String getHostname()
        Returns:
        the hostname
      • getHost

        public java.lang.String getHost()
        Returns:
        the host
      • getParentServer

        public Server getParentServer()
        Returns:
        the parentServer