Releases: LinklyCo/EFTClient.IPInterface.Java
Releases · LinklyCo/EFTClient.IPInterface.Java
v1.1.0
Linkly IP Interface SDK - Java v1.1.0
AsyncSocket
/AsyncSSLSocket
:close()
now closes socket and stops- NOTE: After close is called, this class will need to be reinstantiated to connect/resume communication
AsyncSocketControl
/AsyncSSLSocketControl
close()
now waits for socket thread to join.- Now returns boolean depending on success (rather than a hard-coded string that doesn't give any valid information)
- Default wait is 1s
- New overload
close(int maxWaitMillis)
gives control over maximum wait time
- constructor/
socketSend
/socketSendRaw
both yield thread execution to give the action a chance to occur - Added
isConnected()
to simplify checks rather than callingsocket.isConnected()
- Aligned classes to be more similar:
AsyncSocketControl
:- Added
socketSendRaw(String request)
method to send string data
- Added
- Message Parsing
EFTResponse
parsing now more resilient- Fixing parsing in
EFTGetLastTransactionResponse
to includeClearedFundsBalance
EFTPinResponse
'sAccountType
is nowEFTTransactionRequest.AccountType
rather thanString
EFTQueryCardRequest
now parses the response data. AddedgetTrack1
andgetTrack3
to retrieve the correct track1/track3 data
- Adding Implementation-Version to jar file
MANIFEST.MF
- [IAAS-1537] Some amounts entered in Cloud Test POS or MPOS app are rounded down by 1c
- Passing
AsyncSSLSocketControl
exceptions up to the caller - Removing
RedirectPort
/RedirectAddress
- Using
Calendar.getInstance().getTime
rather thanDate.from(Instant.now())
for greater compatibility