public class SyncInfoValueFactory extends Object implements IntermediateOperationFactory
IntermediateOperationFactory
which creates SyncInfoValue
instances.Constructor and Description |
---|
SyncInfoValueFactory()
Creates a new instance of SyncInfoValueFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
decodeValue(IntermediateResponse intermediateResponse,
byte[] responseValue)
Decode the value part of the intermediate response operation.
|
void |
encodeValue(Asn1Buffer buffer,
IntermediateResponse intermediateResponse)
Encode the value part of the intermediate response operation.
|
String |
getOid()
Gets the OID of the IntermediateResponse this factory generates.
|
SyncInfoValue |
newResponse()
Returns a new
IntermediateResponse with no value. |
SyncInfoValue |
newResponse(byte[] responseValue)
Returns a new
IntermediateResponse with the following encoded value. |
public SyncInfoValueFactory()
public String getOid()
getOid
in interface IntermediateOperationFactory
public SyncInfoValue newResponse()
IntermediateResponse
with no value.newResponse
in interface IntermediateOperationFactory
public SyncInfoValue newResponse(byte[] responseValue)
IntermediateResponse
with the following encoded value.newResponse
in interface IntermediateOperationFactory
responseValue
- the encoded valuepublic void encodeValue(Asn1Buffer buffer, IntermediateResponse intermediateResponse)
IntermediateOperationFactory
encodeValue
in interface IntermediateOperationFactory
buffer
- The buffer into which to put the encoded valueintermediateResponse
- The IntermediateResponse Operation to encodepublic void decodeValue(IntermediateResponse intermediateResponse, byte[] responseValue) throws DecoderException
decodeValue
in interface IntermediateOperationFactory
intermediateResponse
- The IntermediateResponse Operation to feedresponseValue
- The response value to decodeDecoderException
- If the value cannot be decodedCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.