Static Public Member Functions |
| static PString | GetErrorText (ErrorType err) |
| static PString | GetTrapTypeText (PINDEX code) |
| static void | SendEnterpriseTrap (const PIPSocket::Address &addr, const PString &community, const PString &enterprise, PINDEX specificTrap, PASNUnsigned timeTicks, WORD sendPort=TrapPort) |
| static void | SendEnterpriseTrap (const PIPSocket::Address &addr, const PString &community, const PString &enterprise, PINDEX specificTrap, PASNUnsigned timeTicks, const PSNMPVarBindingList &vars, WORD sendPort=TrapPort) |
| static void | SendTrap (const PIPSocket::Address &addr, PSNMP::TrapType trapType, const PString &community, const PString &enterprise, PINDEX specificTrap, PASNUnsigned timeTicks, const PSNMPVarBindingList &vars, WORD sendPort=TrapPort) |
| static void | SendTrap (const PIPSocket::Address &addr, PSNMP::TrapType trapType, const PString &community, const PString &enterprise, PINDEX specificTrap, PASNUnsigned timeTicks, const PSNMPVarBindingList &vars, const PIPSocket::Address &agentAddress, WORD sendPort=TrapPort) |
| static void | WriteTrap (PChannel &channel, PSNMP::TrapType trapType, const PString &community, const PString &enterprise, PINDEX specificTrap, PASNUnsigned timeTicks, const PSNMPVarBindingList &vars, const PIPSocket::Address &agentAddress) |
Additional Inherited Members |
| | PIndirectChannel () |
| | Create a new indirect channel without any channels to redirect to.
|
| | ~PIndirectChannel () |
| | Close the indirect channel, deleting read/write channels if desired.
|
| Comparison | Compare (const PObject &obj) const |
| | Determine if the two objects refer to the same indirect channel.
|
| virtual PString | GetName () const |
| | Get the name of the channel.
|
| virtual PBoolean | Close () |
| | Close the channel.
|
| virtual PBoolean | IsOpen () const |
| | Determine if the channel is currently open and read and write operations can be executed on it.
|
| virtual PBoolean | Read (void *buf, PINDEX len) |
| | Low level read from the channel.
|
| virtual PBoolean | Write (const void *buf, PINDEX len) |
| | Low level write to the channel.
|
| virtual PBoolean | Shutdown (ShutdownValue option) |
| | Close one or both of the data streams associated with a channel.
|
| virtual bool | SetLocalEcho (bool localEcho) |
| | Set local echo mode.
|
| virtual PChannel * | GetBaseReadChannel () const |
| | This function returns the eventual base channel for reading of a series of indirect channels provided by descendents of PIndirectChannel.
|
| virtual PChannel * | GetBaseWriteChannel () const |
| | This function returns the eventual base channel for writing of a series of indirect channels provided by descendents of PIndirectChannel.
|
| virtual PString | GetErrorText (ErrorGroup group=NumErrorGroups) const |
| | Get error message description.
|
| PBoolean | Open (PChannel &channel) |
| | Set the channel for both read and write operations.
|
| PBoolean | Open (PChannel *channel, PBoolean autoDelete=true) |
| | Set the channel for both read and write operations.
|
| PBoolean | Open (PChannel *readChannel, PChannel *writeChannel, PBoolean autoDeleteRead=true, PBoolean autoDeleteWrite=true) |
| | Set the channel for both read and write operations.
|
| PChannel * | GetReadChannel () const |
| | Get the channel used for read operations.
|
| bool | SetReadChannel (PChannel *channel, bool autoDelete=true, bool closeExisting=false) |
| | Set the channel for read operations.
|
| PChannel * | GetWriteChannel () const |
| | Get the channel used for write operations.
|
| PBoolean | SetWriteChannel (PChannel *channel, bool autoDelete=true, bool closeExisting=false) |
| | Set the channel for read operations.
|
| virtual PBoolean | OnOpen () |
| | This callback is executed when the Open() function is called with open channels.
|
| PChannel * | readChannel |
| | Channel for read operations.
|
| PBoolean | readAutoDelete |
| | Automatically delete read channel on destruction.
|
| PChannel * | writeChannel |
| | Channel for write operations.
|
| PBoolean | writeAutoDelete |
| | Automatically delete write channel on destruction.
|
| PReadWriteMutex | channelPointerMutex |
| | Race condition prevention on closing channel.
|
A descendant of PUDPSocket which can perform SNMP calls.