The IM2000 protocols are described using Abstract Syntax Notation 1 (ISO/IEC 8824-1:2003), and are transferred using the Distinguished subset of the ASN.1 Basic Encoding Rules (ISO/IEC 8825-1:2003). In order to support future extensions to the protocols, codecs in clients and servers must be capable of handling, and ignoring, elements of SEQUENCE encodings whose tags they do not recognize.
If a server receives a command PDU from the client which it cannot parse (because, for example, the encoding structures or the lengths of the data are incorrect), or receives a PDU from the client which is not a command, or receives a command PDU from the client that is not appropriate for the current position with a transaction, it:
If a client receives a response PDU from the server which it cannot parse, or that is not a response PDU, it should terminate the session. Whether the transaction that was in progress has been completed or aborted cannot be determined by the client in such a case.
If a client receives a response PDU from the server with the abort flag set, or if it receives a response PDU that does not have the abort flag set but that is not an expected response to the command, it
Servers may implement limits on the length of time that they will wait idly for command PDUs to arrive from clients. If a server times out without receiving a command PDU it:
Note that older tools pre-dating the 1998 standards may not support the UTF8String type used in the ASN.1 definitions.