Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@rwhitlock-linkly rwhitlock-linkly released this 17 Apr 04:17

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 calling socket.isConnected()
    • Aligned classes to be more similar:
      • AsyncSocketControl:
        • Added socketSendRaw(String request) method to send string data
  • Message Parsing
    • EFTResponse parsing now more resilient
    • Fixing parsing in EFTGetLastTransactionResponse to include ClearedFundsBalance
    • EFTPinResponse's AccountType is now EFTTransactionRequest.AccountType rather than String
    • EFTQueryCardRequest now parses the response data. Added getTrack1 and getTrack3 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 than Date.from(Instant.now()) for greater compatibility