public abstract class PackagerWrapper extends java.lang.Object implements ISOPackager, LogSource, Configurable
ISOPackager| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
cfg |
protected Logger |
logger |
protected java.lang.String |
realm |
protected ISOPackager |
standardPackager |
| Constructor and Description |
|---|
PackagerWrapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldDescription(ISOComponent m,
int fldNumber) |
Logger |
getLogger() |
ISOPackager |
getPackager() |
java.lang.String |
getRealm() |
abstract byte[] |
pack(ISOComponent c) |
void |
setConfiguration(Configuration cfg)
requires
inner-packager property |
void |
setLogger(Logger logger,
java.lang.String realm) |
void |
setPackager(ISOPackager packger) |
abstract int |
unpack(ISOComponent c,
byte[] b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateISOMsg, getDescription, unpackprotected Logger logger
protected java.lang.String realm
protected ISOPackager standardPackager
protected Configuration cfg
public abstract byte[] pack(ISOComponent c) throws ISOException
pack in interface ISOPackagerc - the Component to packISOException - on errorpublic abstract int unpack(ISOComponent c, byte[] b) throws ISOException
unpack in interface ISOPackagerc - the Container of this messageb - ISO message imageISOException - on errorpublic java.lang.String getFieldDescription(ISOComponent m, int fldNumber)
getFieldDescription in interface ISOPackagerm - the Container (i.e. an ISOMsg)fldNumber - the Field Numberpublic void setPackager(ISOPackager packger)
public ISOPackager getPackager()
public void setLogger(Logger logger, java.lang.String realm)
public void setConfiguration(Configuration cfg) throws ConfigurationException
inner-packager propertysetConfiguration in interface Configurablecfg - Configuration objectConfigurationException