ISO8583 Feature can be used to convert binary ISO8583 message to a platform specific message format
which can be later used with Processors. It also supports conversion of platform specific message format to
transmittable binary ISO8583 message.
Apart from message conversion, ISO8583 feature can be used to perform following operations on
platform specific ISO8583 message format.
-
Extracting fields
-
Adding new fields
-
Updating existing fields
convertBinaryToISO8583 |
Parameters
- XMessage message
-
Message with binary ISO8583 message as the payload
- int headerSize
-
Size of the header in ISO8583 message
- ISO8583MessageFactory factory
-
Message Factory which is capable of manipulating platform specific
ISO8583 Messages. A factory can be configured & created using a ISO8583FactoryBuilder.
Returns
- ISO8583Message
-
A platform specific Message format which holds all the fields recived from original ISO8583 message
This API can be used to convert an binary ISO8583 message to a platform specific ISO8583Message
|
convertByteToISO8583 |
Parameters
- byte data[]
-
data to be parsed into a ISO8583Message
- XMessage message
-
Target message to set payload
- int headerSize
-
Size of the header in ISO8583 message
- ISO8583MessageFactory factory
-
Message Factory which is capable of manipulating platform specific
ISO8583 Messages. A factory can be configured & created using a ISO8583FactoryBuilder.
Returns
- ISO8583Message
-
A platform specific Message format which holds all the fields recived from original ISO8583 message
This API can be used to convert a byte array to ISO8583Message and set converted payload into a XMessage
|
convertISO8583ToBinary |
Parameters
- XMessage message
-
XMessage with ISO8583MessageFormat as the payload
- ISO8583MessageFactory factory
-
Message Factory which is capable of manipulating platform specific ISO8583 Messages. A factory can be configured & created using a ISO8583FactoryBuilder.
Returns
- ByteArrayFormat
-
Converted ByteArrayFormat corresponfing to the ISO8583MessageFormat
This API can be used to convert platform specific ISO8583Message to binary
|
createISO8583FactoryBuilder |
Parameters
- XMessage message
-
XMessage with ISO8583MessageFormat as the payload
- ISO8583MessageFactory factory
-
Message Factory which is capable of manipulating platform specific ISO8583 Messages. A factory can be configured & created using a ISO8583FactoryBuilder.
Returns
- ISO8583FactoryBuilder
-
Converted ByteArrayFormat corresponfing to the ISO8583MessageFormat
This API can be used to create a new ISO8583FactoryBuilder. ISO8583FactoryBuilder can be used to easily
create an instance of ISO8583MessageFactory.
|
setISO8583Field |
Parameters
- XMessage message
-
XMessage with ISO8583MessageFormat as the payload
- int index
-
Standard ISO8583 field index
- IsoType isoType
-
type of the value
- T value
-
Value to be set in the field
- int length
-
The length of the field, used for ALPHA and NUMERIC values only, ignored with any other type.
This API can be used to set/ update standard ISO8583 fields to ISO8583Messages.
|