Class NetClient<S extends NetSession,​D>

    • Method Detail

      • connect

        protected void connect()
        Put the client on the net service implementation
      • getHost

        public java.lang.String getHost()
        Returns the host where it will connect the client
        Returns:
        Remote host.
      • getSession

        public abstract S getSession()
        This method return the object that represent the client's session.
        Returns:
        Client's session.
      • onConnectFail

        protected void onConnectFail()