|
| 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) |
| |
|
| | PIndirectChannel () |
| | Create a new indirect channel without any channels to redirect to. More...
|
| |
| | ~PIndirectChannel () |
| | Close the indirect channel, deleting read/write channels if desired. More...
|
| |
| Comparison | Compare (const PObject &obj) const |
| | Determine if the two objects refer to the same indirect channel. More...
|
| |
| virtual PString | GetName () const |
| | Get the name of the channel. More...
|
| |
| virtual P_INT_PTR | GetHandle () const |
| | Get the OS specific handle for the PSoundChannel. More...
|
| |
| virtual PBoolean | Close () |
| | Close the channel. More...
|
| |
| virtual PBoolean | IsOpen () const |
| | Determine if the channel is currently open and read and write operations can be executed on it. More...
|
| |
| virtual PBoolean | Read (void *buf, PINDEX len) |
| | Low level read from the channel. More...
|
| |
| virtual int | ReadChar () |
| | Read a single character from the channel. More...
|
| |
| virtual PBoolean | Write (const void *buf, PINDEX len) |
| | Low level write to the channel. More...
|
| |
| virtual PBoolean | Shutdown (ShutdownValue option) |
| | Close one or both of the data streams associated with a channel. More...
|
| |
| virtual bool | SetLocalEcho (bool localEcho) |
| | Set local echo mode. More...
|
| |
| virtual PChannel * | GetBaseReadChannel () const |
| | This function returns the eventual base channel for reading of a series of indirect channels provided by descendents of PIndirectChannel. More...
|
| |
| virtual PChannel * | GetBaseWriteChannel () const |
| | This function returns the eventual base channel for writing of a series of indirect channels provided by descendents of PIndirectChannel. More...
|
| |
| virtual PString | GetErrorText (ErrorGroup group=NumErrorGroups) const |
| | Get error message description. More...
|
| |
| PBoolean | Open (PChannel &channel) |
| | Set the channel for both read and write operations. More...
|
| |
| PBoolean | Open (PChannel *channel, PBoolean autoDelete=true) |
| | Set the channel for both read and write operations. More...
|
| |
| PBoolean | Open (PChannel *readChannel, PChannel *writeChannel, PBoolean autoDeleteRead=true, PBoolean autoDeleteWrite=true) |
| | Set the channel for both read and write operations. More...
|
| |
| PChannel * | Detach (ShutdownValue option=ShutdownReadAndWrite) |
| | Detach without closing the read/write channel. More...
|
| |
| PChannel * | GetReadChannel () const |
| | Get the channel used for read operations. More...
|
| |
| bool | SetReadChannel (PChannel *channel, bool autoDelete=true, bool closeExisting=false) |
| | Set the channel for read operations. More...
|
| |
| PChannel * | GetWriteChannel () const |
| | Get the channel used for write operations. More...
|
| |
| PBoolean | SetWriteChannel (PChannel *channel, bool autoDelete=true, bool closeExisting=false) |
| | Set the channel for read operations. More...
|
| |
| virtual PBoolean | OnOpen () |
| | This callback is executed when the Open() function is called with open channels. More...
|
| |
| PChannel * | readChannel |
| | Channel for read operations. More...
|
| |
| PBoolean | readAutoDelete |
| | Automatically delete read channel on destruction. More...
|
| |
| PChannel * | writeChannel |
| | Channel for write operations. More...
|
| |
| PBoolean | writeAutoDelete |
| | Automatically delete write channel on destruction. More...
|
| |
| PReadWriteMutex | channelPointerMutex |
| | Race condition prevention on closing channel. More...
|
| |
A descendant of PUDPSocket which can perform SNMP calls.