Click or drag to resize

ProcessingHookBase Class

Inherit this class to create a Protocol Hook script, which will execute in Simulation, as well as in the Stand-by and Learning mode. By overriding one of the 3 methods, it allows changing the raw message payload and metadata ahead of the Service Virtualization processing. You can also modify the raw message and metadata after SV processing, before the message leaves SV.
Inheritance Hierarchy
SystemObject
  HP.SV.DotNetRuleApi.Hook.ProcessingProcessingHookBase

Namespace:  HP.SV.DotNetRuleApi.Hook.Processing
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.6.0.9999-localBuild
Syntax
C#
public abstract class ProcessingHookBase

The ProcessingHookBase type exposes the following members.

Constructors
  NameDescription
Protected methodProcessingHookBase
Initializes a new instance of the ProcessingHookBase class
Top
Methods
  NameDescription
Public methodPostprocessMetadata
Override this method to change the message metadata after processing in SV has finished. Without overriding, the method will return a result object with no changes requested to the message metadata.
Public methodPostprocessPayload
Override this method to change the message payload after processing in SV has finished. Without overriding, the method will return a result object with no changes requested to the message payload.
Public methodPreprocess
Override this method to change the message payload or metadata before, the message enters SV processing. Without overriding, the method will return a result object with no changes requested to the message payload and metadata.
Top
See Also