Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
f02efa83
Commit
f02efa83
authored
Aug 21, 2012
by
JINMEI Tatuya
Browse files
[2138] added suggested revised doc for AuthCommand::exec().
parent
c286d6ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/command.cc
View file @
f02efa83
...
@@ -98,9 +98,16 @@ public:
...
@@ -98,9 +98,16 @@ public:
/// \c AuthCommandError when it encounters an internal error, such as
/// \c AuthCommandError when it encounters an internal error, such as
/// semantics error on the command arguments.
/// semantics error on the command arguments.
///
///
/// This method should return the execution result in the form of
/// \c ConstElementPtr. It will be transparently used as the return
/// value from the command handler called from the corresponding
/// \c CCSession object. For a successful completion of the command,
/// it should suffice to return the return value of
/// \c isc::config::createAnswer() with no argument.
///
/// \param server The \c AuthSrv object on which the command is executed.
/// \param server The \c AuthSrv object on which the command is executed.
/// \param args Command specific argument.
/// \param args Command specific argument.
/// \return
c
ommand
result using createAnswer()
.
/// \return
C
ommand
execution result
.
virtual
ConstElementPtr
exec
(
AuthSrv
&
server
,
virtual
ConstElementPtr
exec
(
AuthSrv
&
server
,
isc
::
data
::
ConstElementPtr
args
)
=
0
;
isc
::
data
::
ConstElementPtr
args
)
=
0
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment