ArrayList<Control> controls =
new ArrayList<Control>();
LDAPMessage requestMessage =
new LDAPMessage(nextMessageID.getAndIncrement(),
extendedRequest, controls);
writer.writeMessage(requestMessage);
LDAPMessage responseMessage = reader.readMessage();
ExtendedResponseProtocolOp extendedResponse =
responseMessage.getExtendedResponseProtocolOp();
if (extendedResponse.getResultCode() ==