org.ldaptive.control.util
Class SyncReplItem.Response

java.lang.Object
  extended by org.ldaptive.control.util.SyncReplItem.Response
Enclosing class:
SyncReplItem

public static class SyncReplItem.Response
extends Object

Wrapper class that provides easy access to the SyncDoneControl contained in a response.


Constructor Summary
SyncReplItem.Response(Response<SearchResult> res)
          Creates a new response.
 
Method Summary
 Response<SearchResult> getResponse()
          Returns the underlying response.
 SyncDoneControl getSyncDoneControl()
          Returns the sync done control or null if no such control exists in the response.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncReplItem.Response

public SyncReplItem.Response(Response<SearchResult> res)
Creates a new response. If the supplied response contains a SyncDoneControl it is made available via getSyncDoneControl().

Parameters:
res - to search for sync done control in
Method Detail

getResponse

public Response<SearchResult> getResponse()
Returns the underlying response.

Returns:
underlying response

getSyncDoneControl

public SyncDoneControl getSyncDoneControl()
Returns the sync done control or null if no such control exists in the response.

Returns:
sync done control

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.