utils/u_iso
library
Classes
-
IsoLinkEvents
-
Optional progress callbacks while a message is in flight (show "waiting for host…").
-
IsoSessionKey
-
One session key from a logon, with its check value.
-
UIso
-
ISO8583 (POS/switch) setup, like U.baseUrl for REST: host config, terminal context, security module, trace counter.
UIso.init(config: c, context: ctx, securityModule: hsm, nextTraceNumber: nextStan)
-
UIsoClient
-
Sends one ISO8583 message and waits for the answer, filling trace number, date/time, terminal id, TLVs and MAC.
UIsoClient.send(mti: "0200", processingCode: "000000", onSuccess: ok, onError: err, onException: fail)
-
UIsoResult
-
The host's answer to UIsoClient.send (like an HTTP Response): response code, fields, TLV tags.
Enums
-
UIsoErrorCode
-
Why an ISO8583 call failed before a host answer: cannotConnect, noResponse, badResponseMac, notLoggedOn, securityModuleFailed, badRequest.
Exceptions / Errors
-
UIsoException
-
Error thrown inside the ISO layer; UIsoClient.send turns it into onException.