public interface ExtendedOperationFactory
| Modifier and Type | Method and Description |
|---|---|
ExtendedRequest |
decorate(ExtendedRequest modelRequest)
Decorates a non-decorated request.
|
ExtendedResponse |
decorate(ExtendedResponse decoratedMessage)
Decorates an ExtendedResponse which may or may not be of the expected
type.
|
String |
getOid()
Gets the OID of the extended requests this factory generates.
|
ExtendedRequest |
newRequest(byte[] value)
Returns a new
ExtendedRequestDecorator with the following encoded value. |
ExtendedResponse |
newResponse(byte[] encodedValue)
Creates a new ExtendedResponse, for the ExtendedRequest with a specific
encoded value.
|
String getOid()
ExtendedRequest newRequest(byte[] value)
ExtendedRequestDecorator with the following encoded value.value - the encoded valueExtendedRequest decorate(ExtendedRequest modelRequest)
modelRequest - the non decorated model requestExtendedResponse newResponse(byte[] encodedValue) throws DecoderException
encodedValue - The encoded value for the ExtendedResponse instance.DecoderExceptionExtendedResponse decorate(ExtendedResponse decoratedMessage)
decoratedMessage - the message to be decorated.Copyright © 2021. All rights reserved.