|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpos.iso.ISOComponent
org.jpos.iso.ISOMsg
org.jpos.iso.FSDISOMsg
public class FSDISOMsg
| Field Summary |
|---|
| Fields inherited from class org.jpos.iso.ISOMsg |
|---|
direction, dirty, fieldNumber, fields, header, INCOMING, maxField, maxFieldDirty, OUTGOING, packager |
| Constructor Summary | |
|---|---|
FSDISOMsg()
|
|
FSDISOMsg(FSDMsg fsd)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
clone(int[] fields)
Partially clone an ISOMsg |
void |
dump(PrintStream p,
String indent)
dump the message to a PrintStream. |
FSDMsg |
getFSDMsg()
|
String |
getMTI()
|
String |
getString(int fldno)
Return the String value associated with the given ISOField number |
String |
getString(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(String fld)
Check if a field indicated by a fpath is present |
void |
merge(ISOMsg m)
add all fields present on received parameter to this ISOMsg please note that received fields take precedence over existing ones (simplifying card agent message creation and template handling) |
byte[] |
pack()
pack the message with the current packager |
void |
readExternal(ObjectInput in)
|
void |
set(String name,
String value)
Creates an ISOField associated with fldno within this ISOMsg |
void |
setResponseMTI()
sets an appropiate response MTI. |
int |
unpack(byte[] b)
unpack a message |
void |
unpack(InputStream in)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.jpos.iso.ISOMsg |
|---|
getBytes, getBytes, getChildren, getComponent, getComponent, getComposite, getDirection, getHeader, getISOHeader, getKey, getMaxField, getPackager, getSource, getValue, getValue, getValue, hasFields, hasFields, isIncoming, isInner, isOutgoing, isRequest, isResponse, isRetransmission, move, readDirection, readHeader, readPackager, recalcBitMap, set, set, set, set, set, setDirection, setFieldNumber, setHeader, setHeader, setMTI, setPackager, setRetransmissionMTI, setSource, setValue, toString, unset, unset, unset, writeDirection, writeHeader, writePackager |
| Methods inherited from class org.jpos.iso.ISOComponent |
|---|
getBytes, pack |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FSDISOMsg()
public FSDISOMsg(FSDMsg fsd)
| Method Detail |
|---|
public String getMTI()
getMTI in class ISOMsg
public byte[] pack()
throws ISOException
ISOMsg
pack in class ISOMsgISOException
public int unpack(byte[] b)
throws ISOException
ISOMsg
unpack in class ISOMsgb - - raw message
ISOException
public void unpack(InputStream in)
throws IOException,
ISOException
unpack in class ISOMsgIOException
ISOExceptionpublic FSDMsg getFSDMsg()
public String getString(int fldno)
ISOMsg
getString in class ISOMsgfldno - the Field Number
public String getString(String fld)
ISOMsg
getString in class ISOMsgfld - field path
public boolean hasField(int fldno)
ISOMsg
hasField in class ISOMsgfldno - the Field Number
public boolean hasField(String fld)
ISOMsg
hasField in class ISOMsgfld - dot-separated field path (i.e. 63.2)
public void dump(PrintStream p,
String indent)
ISOMsg
dump in interface Loggeabledump in class ISOMsgp - - print streamindent - - optional indent string
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class ISOMsgIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class ISOMsgIOException
ClassNotFoundExceptionpublic Object clone()
clone in class ISOMsgpublic Object clone(int[] fields)
ISOMsg
clone in class ISOMsgfields - int array of fields to go
public void merge(ISOMsg m)
ISOMsg
merge in class ISOMsgm - ISOMsg to mergepublic void setResponseMTI()
ISOMsg
setResponseMTI in class ISOMsg
public void set(String name,
String value)
ISOMsg
set in class ISOMsgname - dot-separated field path (i.e. 63.2)value - field value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||