PTLib
Version 2.10.4
|
Class which supplies SNMP data. More...
#include <psnmp.h>
Class which supplies SNMP data.
PSNMPServer::PSNMPServer | ( | PIPSocket::Address | binding = PIPSocket::GetDefaultIpAny() , |
WORD | localPort = 161 , |
||
PINDEX | timeout = 5000 , |
||
PINDEX | rxSize = 10000 , |
||
PINDEX | txSize = 10000 |
||
) |
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] |
void PSNMPServer::Main | ( | ) |
virtual PBoolean PSNMPServer::MIB_LocalMatch | ( | PSNMP_PDU & | pdu | ) | [virtual] |
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 | ||
) |
void PSNMPServer::SetVersion | ( | PASNInt | newVersion | ) |
PUDPSocket* PSNMPServer::baseSocket [protected] |
PString PSNMPServer::community [protected] |
ErrorType PSNMPServer::lastErrorCode [protected] |
The platform independant error code.
Reimplemented from PChannel.
PINDEX PSNMPServer::lastErrorIndex [protected] |
PThreadObj<PSNMPServer> PSNMPServer::m_thread [protected] |
PINDEX PSNMPServer::maxRxSize [protected] |
PINDEX PSNMPServer::maxTxSize [protected] |
PBYTEArray PSNMPServer::readBuffer [protected] |
PASN_Integer PSNMPServer::version [protected] |