This class describes an I/O channel that uses a Line Interface Device
![]() | OpalLineChannel ( OpalLineInterfaceDevice & device, unsigned line, const H323AudioCodec & codec ) Create a new channel to a line interface device. |
![]() | GetName () const Get the device name |
![]() | Close () Close the channel |
![]() | Read ( void * buf, PINDEX len ) Low level read from the channel. |
![]() | Write ( const void * buf, PINDEX len ) Low level write to the channel. |
![]() | GetDevice () const Get the device the channel is writing to |
![]() | GetLineNumber () const Get the line number on device the channel is writing to |
This class describes an I/O channel that uses a Line Interface Device
The GetErrorCode() function should be consulted after Read() returns
FALSE to determine what caused the failure.
The GetErrorCode() function should be consulted after Write() returns
FALSE to determine what caused the failure.
PString GetName() const
BOOL Close()
virtual BOOL Read( void * buf, PINDEX len )
len - Maximum number of bytes to read into the buffer.virtual BOOL Write( const void * buf, PINDEX len )
len - Number of bytes to write.OpalLineInterfaceDevice& GetDevice() const
unsigned GetLineNumber() const
Alphabetic index HTML hierarchy of classes or Java