1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<HTML>
<HEAD>
<TITLE>PySNMP: I/O engine: Asynchronous: Agent: Objects</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff" TEXT="#000000"
LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">
<H3>
Objects of the <STRONG>asynrole.agent</STRONG> class
</H3>
<P>
The instances of <STRONG>asynrole.agent</STRONG> class have the following
methods:
</P>
<DL>
<DT><STRONG>send</STRONG>(<STRONG>rsp</STRONG>[, <STRONG>dst</STRONG>])</DT>
<DD>
<P>
Attempt to send request data item <STRONG>rsp</STRONG> (string) to remote
server by either <STRONG>dst</STRONG> address (given in <STRONG>socket</STRONG>
module notation), if specified, or default destination whenever given on
<STRONG>asynrole.agent</STRONG> class instaniation.
</P>
<P>
The callback function, as specified on <STRONG>agent</STRONG> class
instanitation, will be invoked on response arrival or error.
</P>
</DD>
</DL>
<P>
Objects of <STRONG>asynrole.agent</STRONG> class have no public
instance variables.
</P>
<HR>
<ADDRESS>
ilya@glas.net
</ADDRESS>
</BODY>
</HTML>
|