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
880db2ba
Commit
880db2ba
authored
Feb 07, 2013
by
Michal 'vorner' Vaner
Browse files
[1924] Pydoc comment for the group_sendmsg method.
parent
60b36bda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/cc/session.py
View file @
880db2ba
...
...
@@ -259,6 +259,24 @@ class Session:
def
group_sendmsg
(
self
,
msg
,
group
,
instance
=
CC_INSTANCE_WILDCARD
,
to
=
CC_TO_WILDCARD
,
want_answer
=
False
):
'''
Send a message over the CC session.
Parameters:
- msg The message to send, encoded as python structures (dicts,
lists, etc).
- group The recipient group to send to.
- instance Instance in the group.
- to Direct recipient (overrides the above, should contain the
lname of the recipient).
- want_answer If an answer is requested. If there's no recipient,
the message queue would send an error message instead of the
answer.
Return:
A sequence number that can be used to wait for an answer
(see group_recvmsg).
'''
seq
=
self
.
_next_sequence
()
self
.
sendmsg
({
CC_HEADER_TYPE
:
CC_COMMAND_SEND
,
...
...
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