Package com.zebra.rfid.api3
Class LoginInfo
- java.lang.Object
-
- com.zebra.rfid.api3.LoginInfo
-
public class LoginInfo extends java.lang.Object
This class contains the login information of the reader
-
-
Constructor Summary
Constructors Constructor Description LoginInfo()
LoginInfo contructorLoginInfo(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 parameterLoginInfo(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 hostjava.lang.String
getHostName()
Gets the host name of the readerjava.lang.String
getPassword()
Gets the password used to connect with the readerSECURE_MODE
getSecureMode()
Gets the mode of connection used to connect with the readerjava.lang.String
getUserName()
Gets the user name used to connect with the readervoid
setForceLogin(boolean forceLogin)
Force login this hostvoid
setHostName(java.lang.String hostName)
Sets the host name of the readervoid
setPassword(java.lang.String password)
Sets the password used to connect with the readervoid
setSecureMode(SECURE_MODE m_eSecureMode)
Sets the mode of connection used to connect with the readervoid
setUserName(java.lang.String userName)
Sets the user name used to connect with the reader
-
-
-
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 addressuserName
- User Name to communicate with readerpassword
- Password to communicate with readersecureMode
- 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 addressuserName
- User Name to communicate with readerpassword
- Password to communicate with readersecureMode
- Secured mode specifies the mode of communication with the readerforceLogin
- 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
-
-