Class FSDISOMsg
java.lang.Object
org.jpos.iso.ISOComponent
org.jpos.iso.ISOMsg
org.jpos.iso.FSDISOMsg
- All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Loggeable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()clone(int[] fields) Partially clone an ISOMsgvoiddump(PrintStream p, String indent) dump the message to a PrintStream.getMTI()getString(int fldno) Return the String value associated with the given ISOField numberReturn the String value associated with the given field pathbooleanhasField(int fldno) Check if a given field is presentbooleanCheck if a field indicated by a fpath is presentvoidbyte[]pack()pack the message with the current packagervoidvoidCreates an ISOField associated with fldno within this ISOMsg.voidsets an appropriate response MTI.intunpack(byte[] b) unpack a messagevoidunpack(InputStream in) voidMethods inherited from class ISOMsg
clone, getBytes, getBytes, getChildren, getComponent, getComponent, getComposite, getDirection, getFieldNumber, getHeader, getISOHeader, getKey, getMaxField, getPackager, getSource, getTrailer, getValue, getValue, getValue, hasAny, hasAny, hasFields, hasFields, hasMTI, isAdministrative, isAuthorization, isChargeback, isFeeCollection, isFileAction, isFinancial, isIncoming, isInner, isNetworkManagement, isOutgoing, isReconciliation, isRequest, isResponse, isRetransmission, isReversal, merge, move, readDirection, readHeader, readPackager, recalcBitMap, set, set, set, set, set, setDirection, setFieldNumber, setHeader, setHeader, setMTI, setPackager, setRetransmissionMTI, setSource, setTrailer, setValue, toString, unset, unset, unset, unset, writeDirection, writeHeader, writePackagerMethods inherited from class ISOComponent
getBytes, pack
-
Constructor Details
-
FSDISOMsg
public FSDISOMsg() -
FSDISOMsg
-
-
Method Details
-
getMTI
-
pack
Description copied from class:ISOMsgpack the message with the current packager- Overrides:
packin classISOMsg- Returns:
- the packed message
- Throws:
ISOException
-
unpack
Description copied from class:ISOMsgunpack a message- Overrides:
unpackin classISOMsg- Parameters:
b- - raw message- Returns:
- consumed bytes
- Throws:
ISOException
-
unpack
- Overrides:
unpackin classISOMsg- Throws:
IOExceptionISOException
-
getFSDMsg
-
getString
-
getString
-
hasField
-
hasField
-
dump
Description copied from class:ISOMsgdump the message to a PrintStream. The output is sorta XML, intended to be easily parsed.
Each component is responsible for its own dump function, ISOMsg just calls dump on every valid field. -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classISOMsg- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classISOMsg- Throws:
IOExceptionClassNotFoundException
-
clone
-
clone
-
merge
-
setResponseMTI
Description copied from class:ISOMsgsets an appropriate response MTI. i.e. 0100 becomes 0110
i.e. 0201 becomes 0210
i.e. 1201 becomes 1210- Overrides:
setResponseMTIin classISOMsg
-
set
-