26 : socket_type_(
"unix"), socket_name_() {
28 isc_throw(DhcpConfigError,
"expected map type ("
29 << config->getPosition() <<
")");
36 "invalid type specified for parameter 'socket-type' ("
37 << socket_type->getPosition() <<
")");
39 socket_type_ = socket_type->stringValue();
40 if ((socket_type_ !=
"unix")) {
42 << socket_type_ <<
"' not 'unix'");
46 if (config->contains(
"socket-address")) {
47 isc_throw(DhcpConfigError,
48 "parameter 'socket-address' is not supported by UNIX "
56 "invalid type specified for parameter 'socket-name' ("
57 << socket_name->getPosition() <<
")");
59 socket_name_ = socket_name->stringValue();
void contextToElement(data::ElementPtr map) const
Merge unparse a user_context object.
void setContext(const data::ConstElementPtr &ctx)
Sets user context.