Class AddRequestFactory

    • Method Detail

      • encodeReverse

        public void encodeReverse​(LdapApiService codec,
                                  Asn1Buffer buffer,
                                  Message message)
        Encode the AddRequest message to a PDU.
        AddRequest :
         0x68 LL
           0x04 LL entry
           0x30 LL attributesList
             0x30 LL attribute
               0x04 LL attributeDescription
               0x31 LL attributeValues
                 0x04 LL attributeValue
                 ...
                 0x04 LL attributeValue
             ...
             0x30 LL attribute
               0x04 LL attributeDescription
               0x31 LL attributeValue
                 0x04 LL attributeValue
                 ...
                 0x04 LL attributeValue
         
        Specified by:
        encodeReverse in interface Messagefactory
        Parameters:
        codec - The LdapApiService instance
        buffer - The buffer where to put the PDU
        message - the AbandonRequest to encode