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/AsyncSSLSocketControlclose()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/socketSendRawboth 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
EFTResponseparsing now more resilient- Fixing parsing in
EFTGetLastTransactionResponseto includeClearedFundsBalance EFTPinResponse'sAccountTypeis nowEFTTransactionRequest.AccountTyperather thanStringEFTQueryCardRequestnow parses the response data. AddedgetTrack1andgetTrack3to 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
AsyncSSLSocketControlexceptions up to the caller - Removing
RedirectPort/RedirectAddress - Using
Calendar.getInstance().getTimerather thanDate.from(Instant.now())for greater compatibility