public class DummyPackager extends Log implements ISOPackager
Constructor and Description |
---|
DummyPackager() |
Modifier and Type | Method and Description |
---|---|
ISOMsg |
createISOMsg() |
java.lang.String |
getDescription() |
java.lang.String |
getFieldDescription(ISOComponent m,
int fldNumber) |
byte[] |
pack(ISOComponent m) |
int |
unpack(ISOComponent m,
byte[] b) |
void |
unpack(ISOComponent m,
java.io.InputStream in) |
createDebug, createDebug, createError, createError, createFatal, createFatal, createInfo, createInfo, createLogEvent, createLogEvent, createTrace, createTrace, createWarn, createWarn, debug, debug, error, error, fatal, fatal, getLog, getLogger, getRealm, info, info, setLogger, setLogger, setRealm, trace, trace, warn, warn
public byte[] pack(ISOComponent m) throws ISOException
pack
in interface ISOPackager
m
- the Component to packISOException
- on errorpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack
in interface ISOPackager
m
- the Container of this messageb
- ISO message imageISOException
- on errorpublic void unpack(ISOComponent m, java.io.InputStream in) throws ISOException
unpack
in interface ISOPackager
ISOException
public java.lang.String getFieldDescription(ISOComponent m, int fldNumber)
getFieldDescription
in interface ISOPackager
m
- the Container (i.e. an ISOMsg)fldNumber
- the Field Numberpublic ISOMsg createISOMsg()
createISOMsg
in interface ISOPackager
public java.lang.String getDescription()
getDescription
in interface ISOPackager