#include <psnmp.h>
Inheritance diagram for PSNMPServer:

| PSNMPServer::PSNMPServer | ( | PIPSocket::Address | binding = PIPSocket::GetDefaultIpAny(), |
|
| WORD | localPort = 161, |
|||
| PINDEX | timeout = 5000, |
|||
| PINDEX | rxSize = 10000, |
|||
| PINDEX | txSize = 10000 | |||
| ) |
| PSNMPServer::~PSNMPServer | ( | ) |
| virtual PBoolean PSNMPServer::Authorise | ( | const PIPSocket::Address & | received | ) | [virtual] |
| virtual PBoolean PSNMPServer::ConfirmCommunity | ( | PASN_OctetString & | community | ) | [virtual] |
| virtual PBoolean PSNMPServer::ConfirmVersion | ( | PASN_Integer | vers | ) | [virtual] |
| PBoolean PSNMPServer::HandleChannel | ( | ) |
| void PSNMPServer::Main | ( | ) | [virtual] |
User override function for the main execution routine of the thread.
A descendent class must provide the code that will be executed in the thread within this function.
Note that the correct way for a thread to terminate is to return from this function.
Implements PThread.
| virtual PBoolean PSNMPServer::OnGetNextRequest | ( | PINDEX | reqID, | |
| PSNMP::BindingList & | vars, | |||
| PSNMP::ErrorType & | errCode | |||
| ) | [virtual] |
| virtual PBoolean PSNMPServer::OnGetRequest | ( | PINDEX | reqID, | |
| PSNMP::BindingList & | vars, | |||
| PSNMP::ErrorType & | errCode | |||
| ) | [virtual] |
| virtual PBoolean PSNMPServer::OnSetRequest | ( | PINDEX | reqID, | |
| PSNMP::BindingList & | vars, | |||
| PSNMP::ErrorType & | errCode | |||
| ) | [virtual] |
| PBoolean PSNMPServer::ProcessPDU | ( | const PBYTEArray & | readBuffer, | |
| PBYTEArray & | writeBuffer | |||
| ) |
| PSNMP::ErrorType PSNMPServer::SendGetResponse | ( | PSNMPVarBindingList & | vars | ) |
| void PSNMPServer::SetVersion | ( | PASNInt | newVersion | ) |
PUDPSocket* PSNMPServer::baseSocket [protected] |
PString PSNMPServer::community [protected] |
ErrorType PSNMPServer::lastErrorCode [protected] |
PINDEX PSNMPServer::lastErrorIndex [protected] |
PINDEX PSNMPServer::maxRxSize [protected] |
PINDEX PSNMPServer::maxTxSize [protected] |
PBYTEArray PSNMPServer::readBuffer [protected] |
PASN_Integer PSNMPServer::version [protected] |
1.4.7