Interface Messagefactory
-
- All Known Implementing Classes:
AbandonRequestFactory,AddRequestFactory,AddResponseFactory,BindRequestFactory,BindResponseFactory,CompareRequestFactory,CompareResponseFactory,DeleteRequestFactory,DeleteResponseFactory,ExtendedRequestFactory,ExtendedResponseFactory,IntermediateResponseFactory,ModifyDnRequestFactory,ModifyDnResponseFactory,ModifyRequestFactory,ModifyResponseFactory,ResponseFactory,SearchRequestFactory,SearchResultDoneFactory,SearchResultEntryFactory,SearchResultReferenceFactory,UnbindRequestFactory
public interface MessagefactoryAn interface that needs to be implemented by messages to be encoded.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidencodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)Encode a message, in a reverse way (ie, starting from the end of the PDU.
-
-
-
Method Detail
-
encodeReverse
void encodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)
Encode a message, in a reverse way (ie, starting from the end of the PDU.- Parameters:
codec- The LdapApiService instancebuffer- The buffer where to put the PDUmessage- The message to encode
-
-