19 lines
397 B
C++
19 lines
397 B
C++
#pragma once
|
|
|
|
#include <boost/noncopyable.hpp>
|
|
#include <log4cpp/Category.hh>
|
|
|
|
#include <string>
|
|
|
|
namespace sip {
|
|
class IncomingConnectionValidator : boost::noncopyable {
|
|
public:
|
|
IncomingConnectionValidator(std::string validUriExpression);
|
|
|
|
bool validateUri(std::string uri);
|
|
|
|
private:
|
|
log4cpp::Category &logger;
|
|
std::string validUriExpression;
|
|
};
|
|
} |