[2] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
---|
| 2 | <html>
|
---|
| 3 | <head>
|
---|
| 4 | <meta name="GENERATOR" content="PasDoc 0.9.0">
|
---|
| 5 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
---|
| 6 | <title>snmpsend: Class TSNMPSend</title>
|
---|
| 7 | <link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
---|
| 8 | </head>
|
---|
| 9 | <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
|
---|
| 10 | <a name="TSNMPSend"></a><h1 class="cio">Class TSNMPSend</h1>
|
---|
| 11 | <table class="sections">
|
---|
| 12 | <tr>
|
---|
| 13 | <td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section" href="#@Methods">Methods</a></td><td><a class="section" href="#@Properties">Properties</a></td></tr></table>
|
---|
| 14 | <a name="@Description"></a><h2 class="unit">Unit</h2>
|
---|
| 15 | <p class="unitlink">
|
---|
| 16 | <a href="snmpsend.html">snmpsend</a></p>
|
---|
| 17 | <h2 class="declaration">Declaration</h2>
|
---|
| 18 | <p class="declaration">
|
---|
| 19 | <code>type TSNMPSend = class(<a class="normal" href="blcksock.TSynaClient.html">TSynaClient</a>)</code></p>
|
---|
| 20 | <h2 class="description">Description</h2>
|
---|
| 21 | <p>
|
---|
| 22 | Implementation of SNMP protocol.</p>
|
---|
| 23 | <p>
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <p>Note: Are you missing properties for specify server address and port? Look to parent <a class="normal" href="blcksock.TSynaClient.html">TSynaClient</a> too!</p>
|
---|
| 27 | <a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
|
---|
| 28 | <ul class="hierarchy"><li class="ancestor">TObject</li>
|
---|
| 29 | <li class="ancestor"><a class="normal" href="blcksock.TSynaClient.html">TSynaClient</a></li>
|
---|
| 30 | <li class="thisitem">TSNMPSend</li></ul><h2 class="overview">Overview</h2>
|
---|
| 31 | <a name="@Methods"></a><h3 class="summary">Methods</h3>
|
---|
| 32 | <table class="summary">
|
---|
| 33 | <tr class="list">
|
---|
| 34 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 35 | <td class="itemcode"><code>constructor <b><a href="snmpsend.TSNMPSend.html#Create">Create</a></b>;</code></td>
|
---|
| 36 | </tr>
|
---|
| 37 | <tr class="list2">
|
---|
| 38 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 39 | <td class="itemcode"><code>destructor <b><a href="snmpsend.TSNMPSend.html#Destroy">Destroy</a></b>; override;</code></td>
|
---|
| 40 | </tr>
|
---|
| 41 | <tr class="list">
|
---|
| 42 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 43 | <td class="itemcode"><code>function <b><a href="snmpsend.TSNMPSend.html#SendRequest">SendRequest</a></b>: Boolean;</code></td>
|
---|
| 44 | </tr>
|
---|
| 45 | <tr class="list2">
|
---|
| 46 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 47 | <td class="itemcode"><code>function <b><a href="snmpsend.TSNMPSend.html#SendTrap">SendTrap</a></b>: Boolean;</code></td>
|
---|
| 48 | </tr>
|
---|
| 49 | <tr class="list">
|
---|
| 50 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 51 | <td class="itemcode"><code>function <b><a href="snmpsend.TSNMPSend.html#RecvTrap">RecvTrap</a></b>: Boolean;</code></td>
|
---|
| 52 | </tr>
|
---|
| 53 | <tr class="list2">
|
---|
| 54 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 55 | <td class="itemcode"><code>function <b><a href="snmpsend.TSNMPSend.html#DoIt">DoIt</a></b>: Boolean;</code></td>
|
---|
| 56 | </tr>
|
---|
| 57 | </table>
|
---|
| 58 | <a name="@Properties"></a><h3 class="summary">Properties</h3>
|
---|
| 59 | <table class="summary">
|
---|
| 60 | <tr class="list">
|
---|
| 61 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 62 | <td class="itemcode"><code>property <b><a href="snmpsend.TSNMPSend.html#Buffer">Buffer</a></b>: AnsiString read FBuffer write FBuffer;</code></td>
|
---|
| 63 | </tr>
|
---|
| 64 | <tr class="list2">
|
---|
| 65 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 66 | <td class="itemcode"><code>property <b><a href="snmpsend.TSNMPSend.html#HostIP">HostIP</a></b>: AnsiString read FHostIP;</code></td>
|
---|
| 67 | </tr>
|
---|
| 68 | <tr class="list">
|
---|
| 69 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 70 | <td class="itemcode"><code>property <b><a href="snmpsend.TSNMPSend.html#Query">Query</a></b>: <a href="snmpsend.TSNMPRec.html">TSNMPRec</a> read FQuery;</code></td>
|
---|
| 71 | </tr>
|
---|
| 72 | <tr class="list2">
|
---|
| 73 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 74 | <td class="itemcode"><code>property <b><a href="snmpsend.TSNMPSend.html#Reply">Reply</a></b>: <a href="snmpsend.TSNMPRec.html">TSNMPRec</a> read FReply;</code></td>
|
---|
| 75 | </tr>
|
---|
| 76 | <tr class="list">
|
---|
| 77 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 78 | <td class="itemcode"><code>property <b><a href="snmpsend.TSNMPSend.html#Sock">Sock</a></b>: <a href="blcksock.TUDPBlockSocket.html">TUDPBlockSocket</a> read FSock;</code></td>
|
---|
| 79 | </tr>
|
---|
| 80 | </table>
|
---|
| 81 | <h2 class="description">Description</h2>
|
---|
| 82 | <h3 class="detail">Methods</h3>
|
---|
| 83 | <table class="detail">
|
---|
| 84 | <tr class="list">
|
---|
| 85 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 86 | <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
|
---|
| 87 | </tr>
|
---|
| 88 | </table>
|
---|
| 89 | <table class="detail">
|
---|
| 90 | <tr class="list">
|
---|
| 91 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 92 | <td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
|
---|
| 93 | </tr>
|
---|
| 94 | </table>
|
---|
| 95 | <table class="detail">
|
---|
| 96 | <tr class="list">
|
---|
| 97 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 98 | <td class="itemcode"><a name="SendRequest"></a><code>function <b>SendRequest</b>: Boolean;</code></td>
|
---|
| 99 | </tr>
|
---|
| 100 | </table>
|
---|
| 101 | <p>
|
---|
| 102 | Connects to a Host and send there query. If in timeout SNMP server send back query, result is <code>True</code>. If is used SNMPv3, then it synchronize self with SNMPv3 agent first. (It is needed for SNMPv3 auhorization!)</p>
|
---|
| 103 | <table class="detail">
|
---|
| 104 | <tr class="list">
|
---|
| 105 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 106 | <td class="itemcode"><a name="SendTrap"></a><code>function <b>SendTrap</b>: Boolean;</code></td>
|
---|
| 107 | </tr>
|
---|
| 108 | </table>
|
---|
| 109 | <p>
|
---|
| 110 | Send SNMP packet only, but not waits for reply. Good for sending traps.</p>
|
---|
| 111 | <table class="detail">
|
---|
| 112 | <tr class="list">
|
---|
| 113 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 114 | <td class="itemcode"><a name="RecvTrap"></a><code>function <b>RecvTrap</b>: Boolean;</code></td>
|
---|
| 115 | </tr>
|
---|
| 116 | </table>
|
---|
| 117 | <p>
|
---|
| 118 | Receive SNMP packet only. Good for receiving traps.</p>
|
---|
| 119 | <table class="detail">
|
---|
| 120 | <tr class="list">
|
---|
| 121 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
---|
| 122 | <td class="itemcode"><a name="DoIt"></a><code>function <b>DoIt</b>: Boolean;</code></td>
|
---|
| 123 | </tr>
|
---|
| 124 | </table>
|
---|
| 125 | <p>
|
---|
| 126 | Mapped to <a class="normal" href="snmpsend.TSNMPSend.html#SendRequest">SendRequest</a> internally. This function is only for backward compatibility.</p>
|
---|
| 127 | <h3 class="detail">Properties</h3>
|
---|
| 128 | <table class="detail">
|
---|
| 129 | <tr class="list">
|
---|
| 130 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 131 | <td class="itemcode"><a name="Buffer"></a><code>property <b>Buffer</b>: AnsiString read FBuffer write FBuffer;</code></td>
|
---|
| 132 | </tr>
|
---|
| 133 | </table>
|
---|
| 134 | <p>
|
---|
| 135 | contains raw binary form of SNMP packet. Good for debugging.</p>
|
---|
| 136 | <table class="detail">
|
---|
| 137 | <tr class="list">
|
---|
| 138 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 139 | <td class="itemcode"><a name="HostIP"></a><code>property <b>HostIP</b>: AnsiString read FHostIP;</code></td>
|
---|
| 140 | </tr>
|
---|
| 141 | </table>
|
---|
| 142 | <p>
|
---|
| 143 | After SNMP operation hold IP address of remote side.</p>
|
---|
| 144 | <table class="detail">
|
---|
| 145 | <tr class="list">
|
---|
| 146 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 147 | <td class="itemcode"><a name="Query"></a><code>property <b>Query</b>: <a href="snmpsend.TSNMPRec.html">TSNMPRec</a> read FQuery;</code></td>
|
---|
| 148 | </tr>
|
---|
| 149 | </table>
|
---|
| 150 | <p>
|
---|
| 151 | Data object contains SNMP query.</p>
|
---|
| 152 | <table class="detail">
|
---|
| 153 | <tr class="list">
|
---|
| 154 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 155 | <td class="itemcode"><a name="Reply"></a><code>property <b>Reply</b>: <a href="snmpsend.TSNMPRec.html">TSNMPRec</a> read FReply;</code></td>
|
---|
| 156 | </tr>
|
---|
| 157 | </table>
|
---|
| 158 | <p>
|
---|
| 159 | Data object contains SNMP reply.</p>
|
---|
| 160 | <table class="detail">
|
---|
| 161 | <tr class="list">
|
---|
| 162 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
---|
| 163 | <td class="itemcode"><a name="Sock"></a><code>property <b>Sock</b>: <a href="blcksock.TUDPBlockSocket.html">TUDPBlockSocket</a> read FSock;</code></td>
|
---|
| 164 | </tr>
|
---|
| 165 | </table>
|
---|
| 166 | <p>
|
---|
| 167 | Socket object used for TCP/IP operation. Good for seting OnStatus hook, etc.</p>
|
---|
| 168 | <hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
|
---|
| 169 | </span>
|
---|
| 170 | </body></html>
|
---|