mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
04.49.2009 9fdb95ca9c3c8e3524845760b81a85c7a4c81a45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.opends.sdk.extensions;
 
 
 
import org.opends.sdk.ByteString;
import org.opends.sdk.DecodeException;
import org.opends.sdk.ResultCode;
import org.opends.sdk.requests.ExtendedRequest;
import org.opends.sdk.responses.Result;
 
 
 
/**
 * Created by IntelliJ IDEA. User: digitalperk Date: Jun 19, 2009 Time:
 * 8:39:52 PM To change this template use File | Settings | File
 * Templates.
 */
public interface ExtendedOperation<R extends ExtendedRequest<S>, S extends Result>
{
  R decodeRequest(String requestName, ByteString requestValue)
      throws DecodeException;
 
 
 
  S decodeResponse(ResultCode resultCode, String matchedDN,
      String diagnosticMessage);
 
 
 
  S decodeResponse(ResultCode resultCode, String matchedDN,
      String diagnosticMessage, String responseName,
      ByteString responseValue) throws DecodeException;
 
}