public class SocketManageUR4
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SocketManageUR4.CheckConnectState |
Modifier and Type | Field and Description |
---|---|
boolean |
DEBUG |
UHFUR4DataHandle |
uhfur4DataHandle |
Constructor and Description |
---|
SocketManageUR4() |
Modifier and Type | Method and Description |
---|---|
void |
ClearCacheInfo() |
boolean |
close() |
boolean |
connect(java.lang.String ipString,
int port) |
ConnectionStatus |
getConnectStatus() |
UHFDataHandleBase.CMDInfo |
getTagInfo() |
UHFDataHandleBase.CMDInfo |
sendAndReceive(byte[] senddata) |
UHFDataHandleBase.CMDInfo |
sendAndReceive(byte[] senddata,
int timeOut) |
boolean |
sendOnThread(byte[] sendData) |
void |
setCheckConnectState(SocketManageUR4.CheckConnectState checkConnectState) |
void |
setConnectionStatusChangedListener(IConnectionStatusChangedListener connectionStatusChanged) |
void |
update(ConnectionStatus arg) |
public boolean DEBUG
public UHFUR4DataHandle uhfur4DataHandle
public void setConnectionStatusChangedListener(IConnectionStatusChangedListener connectionStatusChanged)
public void setCheckConnectState(SocketManageUR4.CheckConnectState checkConnectState)
public ConnectionStatus getConnectStatus()
public boolean connect(java.lang.String ipString, int port)
public boolean close()
public UHFDataHandleBase.CMDInfo sendAndReceive(byte[] senddata)
public UHFDataHandleBase.CMDInfo sendAndReceive(byte[] senddata, int timeOut)
public void ClearCacheInfo()
public UHFDataHandleBase.CMDInfo getTagInfo()
public boolean sendOnThread(byte[] sendData)
public void update(ConnectionStatus arg)