Poco::OSP::Web

class WebFilterFactory

Library: OSP/Web
Package: Web
Header: Poco/OSP/Web/WebFilterFactory.h

Description

A factory for WebFilter objects.

Member Summary

Member Functions: context, createFilter, init, initImpl

Constructors

WebFilterFactory

WebFilterFactory();

Creates the WebFilterFactory. The default constructor is called by the classloader (which requires a default constructor) followed by a call to init.

Destructor

~WebFilterFactory virtual

virtual ~WebFilterFactory();

Destroys the WebFilterFactory.

Member Functions

createFilter virtual

virtual WebFilter * createFilter(
    const WebFilter::Args & args
) = 0;

Creates a WebFilter using the given arguments.

init

void init(
    BundleContext::Ptr pContext
);

Initializes the object with the given BundleContext.

context protected inline

BundleContext::Ptr context() const;

Returns the context. The pointer is guaranteed to be valid.

initImpl protected virtual

virtual void initImpl();

Add extra initialization code by overriding this method in your subclass.

Securely control IoT edge devices from anywhere   Connect a Device