Package com.zebra.rfid.api3
Class LoginInfo
java.lang.Object
com.zebra.rfid.api3.LoginInfo
This class contains the login information of the reader
-
Constructor Summary
ConstructorsConstructorDescriptionLoginInfo contructorLoginInfo(String hostName, String userName, String password, SECURE_MODE secureMode) Overloaded contructor takes host name, user name, password, reader type and secured mode as parameterLoginInfo(String hostName, String userName, String password, SECURE_MODE secureMode, boolean forceLogin) Overloaded contructor takes host name, user name, password, reader type and secured mode as parameter -
Method Summary
Modifier and TypeMethodDescriptionbooleanForce login this hostGets the host name of the readerGets the password used to connect with the readerGets the mode of connection used to connect with the readerGets the user name used to connect with the readervoidsetForceLogin(boolean forceLogin) Force login this hostvoidsetHostName(String hostName) Sets the host name of the readervoidsetPassword(String password) Sets the password used to connect with the readervoidsetSecureMode(SECURE_MODE m_eSecureMode) Sets the mode of connection used to connect with the readervoidsetUserName(String userName) Sets the user name used to connect with the reader
-
Constructor Details
-
LoginInfo
public LoginInfo()LoginInfo contructor -
LoginInfo
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(String hostName, String userName, 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 Details
-
getForceLogin
public boolean getForceLogin()Force login this host -
setForceLogin
public void setForceLogin(boolean forceLogin) Force login this host -
getSecureMode
Gets the mode of connection used to connect with the reader -
setSecureMode
Sets the mode of connection used to connect with the reader -
getHostName
Gets the host name of the reader -
setHostName
Sets the host name of the reader -
getPassword
Gets the password used to connect with the reader- Returns:
-
setPassword
Sets the password used to connect with the reader -
getUserName
Gets the user name used to connect with the reader -
setUserName
Sets the user name used to connect with the reader
-