activemq-cpp-3.9.5
decaf::net::URLStreamHandlerFactory Class Referenceabstract

Defines a factory which creates an URLStreamHandler for a specified protocol. More...

#include <src/main/decaf/net/URLStreamHandlerFactory.h>

Public Member Functions

virtual ~URLStreamHandlerFactory ()
 
virtual URLStreamHandlercreateURLStreamHandler (const std::string &protocol)=0
 Creates a new URLStreamHandler instance for the given
protocol
.
 

Detailed Description

Defines a factory which creates an URLStreamHandler for a specified protocol.

It is used by the class URL.

Since
1.0

Constructor & Destructor Documentation

◆ ~URLStreamHandlerFactory()

virtual decaf::net::URLStreamHandlerFactory::~URLStreamHandlerFactory ( )
virtual

Member Function Documentation

◆ createURLStreamHandler()

virtual URLStreamHandler * decaf::net::URLStreamHandlerFactory::createURLStreamHandler ( const std::string & protocol)
pure virtual

Creates a new URLStreamHandler instance for the given
protocol
.

Parameters
protocolthe protocol for which a handler is needed.
Returns
pointer to the created handler.

The documentation for this class was generated from the following file: