IM2000-Message-Store-Recipient-Access-Protocol DEFINITIONS ::= BEGIN -- Data types -- UTF8String ::= [UNIVERSAL 22] IMPLICIT OCTET STRING MessageIdentifier ::= OCTET STRING (SIZE(16)) ListName ::= OCTET STRING ResponseStatus ::= ENUMERATED { noerror (0), errormalformedpdu (1), errorcommandtimeout (2), errornotauthenticated (3), errorunexpectedcommand (4), errorserviceshutdown (5), errorinternalproblem (6), errornosuchmessage (7) } RetrievalType ::= ENUMERATED { nothing (0), summaryonly (1), headersonly (2), all (3) } -- Command PDUs CommandScanList ::= SEQUENCE { listname [0] IMPLICIT UTF8String, begintime [1] IMPLICIT INTEGER (0..MAX) } CommandSilence ::= SEQUENCE { identifier [0] IMPLICIT MessageIdentifier } CommandUnPin ::= SEQUENCE { identifier [0] IMPLICIT MessageIdentifier } CommandRetrieve ::= SEQUENCE { identifier [0] IMPLICIT MessageIdentifier, type [1] IMPLICIT RetrievalType, offset [2] IMPLICIT INTEGER (0..MAX), length [3] IMPLICIT INTEGER (0..MAX) } Command ::= SEQUENCE { commanddata [0] IMPLICIT CHOICE { [0] IMPLICIT CommandScanList, [1] IMPLICIT CommandSilence, [2] IMPLICIT CommandUnPin, [3] IMPLICIT CommandQuerySize, [4] IMPLICIT CommandRetrieve } } -- Response PDUs ResponseNull ::= SEQUENCE {} ResponseScanList ::= SEQUENCE { messages [0] IMPLICIT SEQUENCE OF MessageIdentifier, endtime [1] IMPLICIT UnsignedLongInteger } ResponseSilence ::= SEQUENCE {} ResponseUnPin ::= SEQUENCE {} ResponseRetrieve ::= SEQUENCE { data [0] IMPLICIT OCTET STRING size [0] IMPLICIT INTEGER (0..MAX) } Response ::= SEQUENCE { forceabort [0] IMPLICIT BOOLEAN, status [1] IMPLICIT ResponseStatus, responsedata [2] IMPLICIT CHOICE { [0] IMPLICIT ResponseNull, [1] IMPLICIT ResponseScanList, [2] IMPLICIT ResponseSilence, [3] IMPLICIT ResponseUnPin, [4] IMPLICIT ResponseRetrieve } } -- Main PDU Definition MSRAPDU ::= CHOICE { [1] IMPLICIT Command, [2] IMPLICIT Response } -- (c) Copyright 2004-2004 Jonathan de Boyne Pollard. All rights reserved. "Moral" rights asserted. -- Permission is hereby granted to copy and to distribute this specification in its original, unmodified form as long as its last modification datestamp information is preserved. -- Permission is hereby granted to create codecs that have been derived from this specification, and to grant copying and distribution rights for them. END