| PhoneCardDevice ( const char* deviceName, Sptr < Fifo < Sptr < Event > > > inputQ, Sptr < Fifo < Sptr < Event > > > outputQ )
Creates a hardware object to control a single port gateway.
|
| ~PhoneCardDevice ()
Destructor
|
void* | hardwareMain (void* parms)
Starts the main processing loop of the hardware
|
int | addToFdSet (fd_set* fd)
Add device's socket to the fd (File Descriptor)
|
int | process (fd_set* fd)
Process all pending hardware events
|
int | audioStart (const HardwareAudioRequest& request)
Start audio channel on device
|
int | audioStop ()
Stops audio channel on device
|
int | audioSuspend ()
Suspend audio channel on device
|
int | audioResume (const HardwareAudioRequest& request)
Resume audio channel on device
|
virtual void | processRTP ()
process RTP audio packets
|
virtual int | getRtpPort ()
Instantiates a rtp session and reserves a rtp port
|
virtual void | releaseRtpPort ()
Release the port and deallocate the rtp session
|