Class LoginInfo


  • public class LoginInfo
    extends java.lang.Object
    This class contains the login information of the reader
    • Constructor Summary

      Constructors 
      Constructor Description
      LoginInfo()
      LoginInfo contructor
      LoginInfo​(java.lang.String hostName, java.lang.String userName, java.lang.String password, SECURE_MODE secureMode)
      Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
      LoginInfo​(java.lang.String hostName, java.lang.String userName, java.lang.String password, SECURE_MODE secureMode, boolean forceLogin)
      Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getForceLogin()
      Force login this host
      java.lang.String getHostName()
      Gets the host name of the reader
      java.lang.String getPassword()
      Gets the password used to connect with the reader
      SECURE_MODE getSecureMode()
      Gets the mode of connection used to connect with the reader
      java.lang.String getUserName()
      Gets the user name used to connect with the reader
      void setForceLogin​(boolean forceLogin)
      Force login this host
      void setHostName​(java.lang.String hostName)
      Sets the host name of the reader
      void setPassword​(java.lang.String password)
      Sets the password used to connect with the reader
      void setSecureMode​(SECURE_MODE m_eSecureMode)
      Sets the mode of connection used to connect with the reader
      void setUserName​(java.lang.String userName)
      Sets the user name used to connect with the reader
      • Methods inherited from class java.lang.Object

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

      • LoginInfo

        public LoginInfo()
        LoginInfo contructor
      • LoginInfo

        public LoginInfo​(java.lang.String hostName,
                         java.lang.String userName,
                         java.lang.String password,
                         SECURE_MODE secureMode)
        Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
        Parameters:
        hostName - Host name of the reader IP address
        userName - User Name to communicate with reader
        password - Password to communicate with reader
        secureMode - Secured mode specifies the mode of communication with the reader
      • LoginInfo

        public LoginInfo​(java.lang.String hostName,
                         java.lang.String userName,
                         java.lang.String password,
                         SECURE_MODE secureMode,
                         boolean forceLogin)
        Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter
        Parameters:
        hostName - Host name of the reader IP address
        userName - User Name to communicate with reader
        password - Password to communicate with reader
        secureMode - Secured mode specifies the mode of communication with the reader
        forceLogin - Force login this host
    • Method Detail

      • getForceLogin

        public boolean getForceLogin()
        Force login this host
      • setForceLogin

        public void setForceLogin​(boolean forceLogin)
        Force login this host
      • getSecureMode

        public SECURE_MODE getSecureMode()
        Gets the mode of connection used to connect with the reader
      • setSecureMode

        public void setSecureMode​(SECURE_MODE m_eSecureMode)
        Sets the mode of connection used to connect with the reader
      • getHostName

        public java.lang.String getHostName()
        Gets the host name of the reader
      • setHostName

        public void setHostName​(java.lang.String hostName)
        Sets the host name of the reader
      • getPassword

        public java.lang.String getPassword()
        Gets the password used to connect with the reader
        Returns:
      • setPassword

        public void setPassword​(java.lang.String password)
        Sets the password used to connect with the reader
      • getUserName

        public java.lang.String getUserName()
        Gets the user name used to connect with the reader
      • setUserName

        public void setUserName​(java.lang.String userName)
        Sets the user name used to connect with the reader