org.pfsw.tools.beluga.ldap.messages
Class ResultResponse

java.lang.Object
  extended by org.pfsw.tools.beluga.ldap.messages.AbstractMessage
      extended by org.pfsw.tools.beluga.ldap.messages.ResponseMessage
          extended by org.pfsw.tools.beluga.ldap.messages.ResultResponse

public class ResultResponse
extends ResponseMessage

A response message that only contains the return code and optionally a message text.

Version:
1.1
Author:
Manfred Duchrow

Constructor Summary
ResultResponse(int msgId)
          Initialize the new instance with a message id.
ResultResponse(RequestMessage request)
          Initialize the new instance with a request message.
 
Method Summary
 boolean isBasicResult()
           
 
Methods inherited from class org.pfsw.tools.beluga.ldap.messages.ResponseMessage
getDN, getMessageText, getResponseCode, invalidDN, isAddResponse, isBindResponse, isDeleteResponse, isModifyResponse, isSearchResponse, isSearchResultDone, isSearchResultEntry, isSuccess, noSuchObject, noSuchObject, operationsError, protocolError, setDN, setMessageText, setResponseCode, unwillingToPerform
 
Methods inherited from class org.pfsw.tools.beluga.ldap.messages.AbstractMessage
getControls, getMessageId, getRawData, setControls, setMessageId, setRawData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultResponse

public ResultResponse(RequestMessage request)
Initialize the new instance with a request message. That is useful to copy the message id from the request to the corresponding response.


ResultResponse

public ResultResponse(int msgId)
Initialize the new instance with a message id.

Method Detail

isBasicResult

public boolean isBasicResult()
Overrides:
isBasicResult in class ResponseMessage


Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.