public class BASE1Header extends BaseHeader
Modifier and Type | Field and Description |
---|---|
static int |
LENGTH |
header
Constructor and Description |
---|
BASE1Header() |
BASE1Header(byte[] header) |
BASE1Header(java.lang.String source,
java.lang.String destination) |
BASE1Header(java.lang.String source,
java.lang.String destination,
int format) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatHeader() |
java.lang.String |
getDestination()
Return the destination address in this ISOHeader.
|
int |
getFormat() |
int |
getHLen() |
java.lang.String |
getRejectCode()
Gets the BASE 1 Reject Code.
|
java.lang.String |
getSource()
Return the source address in this ISOHeader.
|
boolean |
isRejected() |
void |
setBatchNumber(int i) |
void |
setDestination(java.lang.String dest)
Set the Destination address in this ISOHeader.
|
void |
setFlags(int i) |
void |
setFormat(int format) |
void |
setHFormat(int hformat) |
void |
setLen(int len) |
void |
setRtCtl(int i) |
void |
setSource(java.lang.String src)
Set the Source address in this ISOHeader.
|
void |
setStatus(int i) |
void |
swapDirection()
Swap the source and destination addresses in this ISOHeader
(if they exist).
|
clone, dump, getLength, isAsciiEncoding, pack, setAsciiEncoding, unpack
public static final int LENGTH
public BASE1Header()
public BASE1Header(java.lang.String source, java.lang.String destination)
public BASE1Header(java.lang.String source, java.lang.String destination, int format)
public BASE1Header(byte[] header)
public int getHLen()
public void setHFormat(int hformat)
public int getFormat()
public void setRtCtl(int i)
public void setFlags(int i)
public void setStatus(int i)
public void setBatchNumber(int i)
public void setFormat(int format)
public void setLen(int len)
public void setDestination(java.lang.String dest)
ISOHeader
setDestination
in interface ISOHeader
setDestination
in class BaseHeader
public void setSource(java.lang.String src)
ISOHeader
setSource
in interface ISOHeader
setSource
in class BaseHeader
public java.lang.String getSource()
ISOHeader
getSource
in interface ISOHeader
getSource
in class BaseHeader
public java.lang.String getDestination()
ISOHeader
getDestination
in interface ISOHeader
getDestination
in class BaseHeader
public void swapDirection()
ISOHeader
swapDirection
in interface ISOHeader
swapDirection
in class BaseHeader
public boolean isRejected()
public java.lang.String getRejectCode()
public java.lang.String formatHeader()