|
| VPTHTTPScanner (const std::string &path, uint16_t port, const Poco::Net::IPAddress &minNetMask) |
|
| AbstractHTTPScanner (const std::string &path, uint16_t port, const Poco::Net::IPAddress &minNetMask) |
|
std::vector
< Poco::Net::SocketAddress > | scan (const uint32_t maxResponseLength) |
| It executes the scan of proper network interfaces. More...
|
|
void | cancel () |
|
void | setPath (const std::string &path) |
|
void | setPort (Poco::UInt16 port) |
|
void | setMinNetMask (const Poco::Net::IPAddress &minNetMask) |
|
void | setPingTimeout (const Poco::Timespan &pingTimeout) |
|
void | setHTTPTimeout (const Poco::Timespan &httpTimeout) |
|
void | setBlackList (const std::set< std::string > &set) |
|
std::string | path () |
|
Poco::UInt16 | port () |
|
|
void | prepareRequest (Poco::Net::HTTPRequest &request) override |
|
bool | isValidResponse (const std::string &response) override |
| It defines if the response is valid or not. More...
|
|
void | probeInterface (StopControl::Run &run, const Poco::Net::NetworkInterface &interface, std::vector< Poco::Net::SocketAddress > &devices, const Poco::Int64 maxResponseLength) |
| It explores network interface. More...
|
|
void | probeAddressRange (StopControl::Run &run, const IPAddressRange &range, std::vector< Poco::Net::SocketAddress > &devices, const Poco::Int64 maxResponseLength) |
| It explores IP address range. More...
|
|
HTTPEntireResponse | sendRequest (const Poco::Net::SocketAddress &socketAddress, const Poco::Int64 maxResponseLength) |
| It sends HTTP request. More...
|
|
bool | addressIncompatible (const Poco::Net::NetworkInterface::AddressTuple &addressTuple) const |
|
std::vector
< Poco::Net::NetworkInterface > | listNetworkInterfaces () |
|
void | setupLogger (Poco::Logger *logger=0) const |
|
Poco::Logger & | logger () const |
|
| Loggable (const ClassInfo &info) |
|
| Loggable (const std::type_info &info) |
|
|
static Poco::Logger & | forMethod (const char *name) |
|
static Poco::Logger & | forClass (const ClassInfo &info) |
|
static Poco::Logger & | forClass (const std::type_info &info) |
|
template<typename T > |
static Poco::Logger & | forInstance (const T *i) |
|
static void | configureSimple (Poco::Logger &logger, const std::string &level) |
|
static void | logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line) |
|
bool VPTHTTPScanner::isValidResponse |
( |
const std::string & |
response | ) |
|
|
overrideprotectedvirtual |
It defines if the response is valid or not.
- Parameters
-
response | Response message. |
- Returns
- If the response is valid or not.
Implements BeeeOn::AbstractHTTPScanner.
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/net/VPTHTTPScanner.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/net/VPTHTTPScanner.cpp