public class FSDISOMsg extends ISOMsg implements java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.Object |
clone(int[] fields)
Partially clone an ISOMsg
|
void |
dump(java.io.PrintStream p,
java.lang.String indent)
dump the message to a PrintStream.
|
FSDMsg |
getFSDMsg() |
java.lang.String |
getMTI() |
java.lang.String |
getString(int fldno)
Return the String value associated with the given ISOField number
|
java.lang.String |
getString(java.lang.String fld)
Return the String value associated with the given field path
|
boolean |
hasField(int fldno)
Check if a given field is present
|
boolean |
hasField(java.lang.String fld)
Check if a field indicated by a fpath is present
|
void |
merge(ISOMsg m) |
byte[] |
pack()
pack the message with the current packager
|
void |
readExternal(java.io.ObjectInput in) |
void |
set(java.lang.String name,
java.lang.String value)
Creates an ISOField associated with fldno within this ISOMsg.
|
void |
setResponseMTI()
sets an appropriate response MTI.
|
int |
unpack(byte[] b)
unpack a message
|
void |
unpack(java.io.InputStream in) |
void |
writeExternal(java.io.ObjectOutput out) |
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, writePackager
getBytes, pack
public FSDISOMsg()
public FSDISOMsg(FSDMsg fsd)
public byte[] pack() throws ISOException
ISOMsg
pack
in class ISOMsg
ISOException
public int unpack(byte[] b) throws ISOException
ISOMsg
unpack
in class ISOMsg
b
- - raw messageISOException
public void unpack(java.io.InputStream in) throws java.io.IOException, ISOException
unpack
in class ISOMsg
java.io.IOException
ISOException
public FSDMsg getFSDMsg()
public java.lang.String getString(int fldno)
ISOMsg
public java.lang.String getString(java.lang.String fld)
ISOMsg
public boolean hasField(int fldno)
ISOMsg
public boolean hasField(java.lang.String fld)
ISOMsg
public void dump(java.io.PrintStream p, java.lang.String indent)
ISOMsg
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class ISOMsg
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class ISOMsg
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object clone(int[] fields)
ISOMsg
public void setResponseMTI()
ISOMsg
setResponseMTI
in class ISOMsg