tuwien.auto.eibxlator
Class PointPDUXlator
java.lang.Object
tuwien.auto.eibxlator.PointPDUXlator
public abstract class PointPDUXlator
extends java.lang.Object
This abstract class, is the base for every Application Layer encoding,
decoding (LA_Modem) class.
PointPDUXlator() - Dummy constructor only used for initialising the eiclMap.
|
abstract byte[] | getAPDUByteArray() - Converts the input values in the requested APDU/ASDU format.
|
abstract String | getASDUasString() - Returns the ASDU as string
|
abstract EICLMap | getMinorTypes() - Get the type specific minor types
|
abstract String | getPointTypeMinor() - Returns the set minor type.
|
short | getServiceType() - Get the message service type (GROUP_VALUE_READ,GROUP_VALUE_WRITE....)
|
void | setAPDUByteArray(byte[] _APDU) - sets the APDU/ASDU as byte array, use getPdu to retrieve the value.
|
abstract void | setASDUfromString(String _ASDU) - Sets the ASDU value as string.
|
void | setServiceType(short _ServiceType) - Sets the message service type (GROUPVALUE_READ,GROUPVALUE_WRITE)
|
A_GROUPVALUE_READ
public static final short A_GROUPVALUE_READ
Application Layer group value read
A_GROUPVALUE_RESPONSE
public static final short A_GROUPVALUE_RESPONSE
Application Layer group value response
A_GROUPVALUE_WRITE
public static final short A_GROUPVALUE_WRITE
Application Layer group value write
PointPDUXlator
public PointPDUXlator()
Dummy constructor only used for initialising the eiclMap. Don't use this
getAPDUByteArray
public abstract byte[] getAPDUByteArray()
Converts the input values in the requested APDU/ASDU format. The result
is the complete Application Layer encoding.
getASDUasString
public abstract String getASDUasString()
Returns the ASDU as string
getMinorTypes
public abstract EICLMap getMinorTypes()
Get the type specific minor types
getPointTypeMinor
public abstract String getPointTypeMinor()
Returns the set minor type.
getServiceType
public short getServiceType()
Get the message service type (GROUP_VALUE_READ,GROUP_VALUE_WRITE....)
setAPDUByteArray
public final void setAPDUByteArray(byte[] _APDU)
throws EICLException
sets the APDU/ASDU as byte array, use getPdu to retrieve the value. Use
this method for decoding.
_APDU
- APDU/ASDU byte array
setASDUfromString
public abstract void setASDUfromString(String _ASDU)
throws EICLException
Sets the ASDU value as string. Use this method for encoding.
setServiceType
public final void setServiceType(short _ServiceType)
throws EICLException
Sets the message service type (GROUPVALUE_READ,GROUPVALUE_WRITE)
_ServiceType
- the service type