//
// Node Messages basic message and message signature definitions
//


CONST KNodeMessagesImplementationUid = 0x10285A56
CONST KNodeMessagesRealmId = 0x10285A56

ENUM NM_MessageId : UINT16
    ENull                         = 1
    ECancel                       = 2
    EDestroy                      = 3
    EStateChange                  = 4
    EError                        = 5
    EErrorRecoveryRequest         = 6
    EErrorRecoveryResponse        = 7
    EClientLeaving                = 8
    EClientLeavingRequest         = 9
    ELeaveComplete                = 10
END ENUM

ENUM NM_SignatureId : UINT32
    ESignalBase                          =0
    ENodeSignal                          =1
    ESignatureBase                       =2
    ESignatureNumber                     =3
    ESignatureUid                        =4
    ESignatureErrContext                 =5
    ESignatureErrResponse                =6
    ESignatureStateChange                =7
    ESignatureNodeId                     =8
    ESignatureNodeIdNumber               =9
    ESignatureNodeIdNumberNumber         =10
    ESignatureMessageIdNumber            =11
    ESignatureAnyNumber                  =12
    ESignatureMetaDataPtr                =13
    ESignatureNumberNumberNumber         =14
    ESignatureRMessage2                  =15
    ESignatureNumberRMessage2            =16
    ESignatureAny                        =17
    ESignatureNumberNumber               =18
    ESignatureNodeIdAny                  =19
    ESignatureNodeIdNodeId               =20
    ESignatureNodeIdNodeIdNumber         =21
    ESignatureNumberNumberNumberNumber   =22
    ESignatureUidNumber                  =23
    ESignatureNumberUidNumber            =24
    ESignatureNodeIdClientType           =25
    ESignatureClientTypeUidClientType    =26
    ESignatureClientType                 =27
    ESignatureClientTypeUid              =28
    ESignatureMessageId                  =29
    ESignatureNodeIdNumberNumberNumber   =30
    ESignatureTypeId                     =31
END ENUM

SIGNATURE TMessageSigNumber 
    TYPEID = KNodeMessagesImplementationUid:ESignatureNumber
    UINT32 iValue
END SIGNATURE 

