Class ProxyCommandReceiver

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ProxyCommandReceiver
    extends java.lang.Object
    implements java.lang.Runnable
    This class is responsible for handling each client's request.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_ENCODING
      The name of the default charset that will be used if no BOM is found.
      static int SOCKET_TIMEOUT
      This is the timeout of the socket
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      • Methods inherited from class java.lang.Object

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

      • SOCKET_TIMEOUT

        public static final int SOCKET_TIMEOUT
        This is the timeout of the socket
        See Also:
        Constant Field Values
      • DEFAULT_ENCODING

        public static final java.lang.String DEFAULT_ENCODING
        The name of the default charset that will be used if no BOM is found.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProxyCommandReceiver

        public ProxyCommandReceiver​(Proxy proxy,
                                    java.net.Socket socket,
                                    PasswordStore synchronizer,
                                    PWSyncLog log)
        Creates an instance of this class.
        Parameters:
        proxy - the Proxy that created this object.
        socket - the socket on which to communicate.
        synchronizer - the password store instance object.
        log - the log in which to write.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable