From 176c6caf4ea7918e1698438634b237fab8456471 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Fri, 27 Nov 2009 16:20:09 -0500 Subject: Imported Upstream version 1.5.2 --- .../paramiko.server.InteractiveQuery-class.html | 195 +++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 docs/private/paramiko.server.InteractiveQuery-class.html (limited to 'docs/private/paramiko.server.InteractiveQuery-class.html') diff --git a/docs/private/paramiko.server.InteractiveQuery-class.html b/docs/private/paramiko.server.InteractiveQuery-class.html new file mode 100644 index 0000000..adc7ea2 --- /dev/null +++ b/docs/private/paramiko.server.InteractiveQuery-class.html @@ -0,0 +1,195 @@ + + + + + paramiko.server.InteractiveQuery + + + + + + + + + + + + + + + + + + +
+ + Package paramiko :: + Module server :: + Class InteractiveQuery +
+
+ + +
[show private | hide private]
[frames | no frames]
+ + +

Type InteractiveQuery

+ +
+object --+
+         |
+        InteractiveQuery
+

+ +
+ +A query (set of prompts) for a user during interactive +authentication. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
 __init__(self, + name, + instructions, + *prompts) +
+Create a new interactive query to send to the client.
 add_prompt(self, + prompt, + echo) +
+Add a prompt to this query.
    Inherited from object
 __delattr__(...) +
+x.__delattr__('name') <==> del x.name
 __getattribute__(...) +
+x.__getattribute__('name') <==> x.name
 __hash__(x) +
+x.__hash__() <==> hash(x)
 __new__(T, + S, + ...) +
+T.__new__(S, ...) -> a new object with type S, a subtype of T
 __reduce__(...) +
+helper for pickle
 __reduce_ex__(...) +
+helper for pickle
 __repr__(x) +
+x.__repr__() <==> repr(x)
 __setattr__(...) +
+x.__setattr__('name', value) <==> x.name = value
 __str__(x) +
+x.__str__() <==> str(x)

+ + + + + + +
Method Details
+ + +
+

__init__(self, + name='', + instructions='', + *prompts) +
(Constructor) +

+ Create a new interactive query to send to the client. The name and + instructions are optional, but are generally displayed to the end user. + A list of prompts may be included, or they may be added via the add_prompt method. +
+
Parameters:
+
name - + name of this query +
           + (type=str) +
instructions - + user instructions (usually short) about this query +
           + (type=str) +
+
+
Overrides:
+
__builtin__.object.__init__
+
+
+
+ + +
+

add_prompt(self, + prompt, + echo=True) +

+ Add a prompt to this query. The prompt should be a (reasonably + short) string. Multiple prompts can be added to the same query. +
+
Parameters:
+
prompt - + the user prompt +
           + (type=str) +
echo - + True (default) if the user's response should be + echoed; False if not (for a password or similar) +
           + (type=bool) +
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
Generated by Epydoc 2.1 on Sun Dec 4 11:16:47 2005http://epydoc.sf.net
+ + -- cgit v1.2.3