Public Member Functions |
| | PSNMPServer (PIPSocket::Address binding=PIPSocket::GetDefaultIpAny(), WORD localPort=161, PINDEX timeout=5000, PINDEX rxSize=10000, PINDEX txSize=10000) |
| | ~PSNMPServer () |
| void | Main () |
| | User override function for the main execution routine of the thread.
|
| void | SetVersion (PASNInt newVersion) |
| PBoolean | HandleChannel () |
| PBoolean | ProcessPDU (const PBYTEArray &readBuffer, PBYTEArray &writeBuffer) |
| virtual PBoolean | Authorise (const PIPSocket::Address &received) |
| virtual PBoolean | ConfirmVersion (PASN_Integer vers) |
| virtual PBoolean | ConfirmCommunity (PASN_OctetString &community) |
| virtual PBoolean | MIB_LocalMatch (PSNMP_PDU &pdu) |
| virtual PBoolean | OnGetRequest (PINDEX reqID, PSNMP::BindingList &vars, PSNMP::ErrorType &errCode) |
| virtual PBoolean | OnGetNextRequest (PINDEX reqID, PSNMP::BindingList &vars, PSNMP::ErrorType &errCode) |
| virtual PBoolean | OnSetRequest (PINDEX reqID, PSNMP::BindingList &vars, PSNMP::ErrorType &errCode) |
| PSNMP::ErrorType | SendGetResponse (PSNMPVarBindingList &vars) |
Protected Attributes |
| PString | community |
| PASN_Integer | version |
| PINDEX | lastErrorIndex |
| ErrorType | lastErrorCode |
| | The platform independant error code.
|
| PBYTEArray | readBuffer |
| PINDEX | maxRxSize |
| PINDEX | maxTxSize |
| PUDPSocket * | baseSocket |
PDictionary
< PRFC1155_ObjectName,
PRFC1155_ObjectSyntax > | objList |
Class which supplies SNMP data.