#include <frame.h>
Inheritance diagram for IAX2FullFrame:
|
enum to define if the call must be active when sending this frame |
|
Internal variables specifying the retry time periods (in milliseconds) |
|
Construction from a supplied dataframe. In this case, this class is filled from an incoming data packet |
|
Construction from an endpoint, to create an empty frame. In this case, the class is filled with the various methods |
|
Delete this frame now, but first we have to delete every timer on it. |
|
Report flag stating that this call must be active when this frame is transmitted Reimplemented from IAX2Frame. |
|
Mark this frame as not to be sent, and not to be deleted |
|
Turn the 16 bit subClass value into a 8 bit representation |
|
Get flag to see if this frame is ready for deletion. In other words. Has it been sent too many times? |
|
Return True if this FullFrame is of a type that increments the InSeqNo |
|
Get the offset to the beginning of the encrypted region Reimplemented from IAX2Frame. |
|
Get text descrption of this frame type |
|
Return the FullFrame type represented here (voice, protocol, session etc Reimplemented in IAX2FullFrameDtmf, IAX2FullFrameVoice, IAX2FullFrameVideo, IAX2FullFrameSessionControl, IAX2FullFrameNull, IAX2FullFrameProtocol, IAX2FullFrameText, IAX2FullFrameImage, IAX2FullFrameHtml, and IAX2FullFrameCng. |
|
Pointer to the beginning of the media (after the header) in this packet Reimplemented from IAX2Frame. |
|
Number of bytes in the media section of this packet. Reimplemented from IAX2Frame. |
|
Get the sequence number info (inSeqNo and outSeqNo) |
|
Deteremine the current value of the subClass variable |
|
Get text description of the subclass contents Reimplemented in IAX2FullFrameDtmf, IAX2FullFrameVoice, IAX2FullFrameVideo, IAX2FullFrameSessionControl, IAX2FullFrameNull, IAX2FullFrameProtocol, IAX2FullFrameText, IAX2FullFrameImage, IAX2FullFrameHtml, and IAX2FullFrameCng. |
|
Mark this frame as having (or not having) information elements Reimplemented in IAX2FullFrameProtocol. |
|
Given the supplied Connection class, write the first 12 bytes of the frame. This method is called by the frame construcors, in preparation for transmission. This method is never called when processing a received frame. Whenever a frame is transmitted, this method will be called. Reimplemented from IAX2Frame. |
|
Return True if this an ack frame |
|
Return True if this is a AuthReq frame |
|
True if this is a full frame - always returns true as this is a full frame. Reimplemented from IAX2Frame. |
|
Return True if this is a LAGRP frame |
|
Return True if this is a LAGRQ frame |
|
Return True if this is a NEW frame |
|
Return True if this is a PING frame |
|
Return True if this is a PONG frame |
|
Return True if this is a VNAK frame |
|
Mark this frame as having been resent (set bit 7 of data[2]) |
|
Stop the timer, so this packet is not retransmitted. Mark packet as dead. This happens when a packet has been received that matches one of the previously sent packets. |
|
Alter the two bytes for in and out sequence values. (in the header) |
|
Alter the four bytes for this frames timestamp. It is required, when transmitting full frames, that there is a 3ms interval to last full frame in the timestamps. This is required by limitations in the handline of time in asterisk. |
|
pwlib constructs to cope with timeout, when transmitting a full frame. This happens when a full frame has not been acknowledged in the required time period. This frame will be resent. |
|
Compare this FullFrame with another full frame, which is used when determining if we are dealing with a frame we have already processed |
|
Pretty print this frame data to the designated stream Reimplemented from IAX2Frame. |
|
Process the incoming frame some more, but process it as a full frame Reimplemented from IAX2Frame. |
|
Get flag to see if this frame is ready to be sent (or resent). In other words, has the timer expired? |
|
Dry the current value of the subClass variable |
|
Send this packet on the specified socket to the remote host. This method is only called by the transmiter. Reimplemented from IAX2Frame. |
|
Turn the 8 bit subClass value into a 16 bit representation |
|
Write the header for this class to the internal data array. 12 bytes of data are writen. The application developer must write the remaining bytes, before transmiting this frame. Reimplemented from IAX2Frame. |
|
Initialise to zero all the members of this particular class Reimplemented from IAX2Frame. |
|
Flag stating that this call must be active when this frame is transmitted |
|
List flag, this frame is ready for deletion (too many retries) |
|
flag to indicate if this is an ack frame |
|
A tracking flag to indicate this fame has been resent |
|
Number of retries this frame has undergone |
|
Time to wait between retries |
|
List flag, indicating if this frame ready for sending |
|
Class holding the sequence numbers, which is used by all classes which have a FullFrame ancestor. |
|
integer variable specifying the uncompressed subClass value for this particular frame |
|
Time delta between call start and sending (or receiving) |
|
The timer which is used to test for no reply to this frame (on transmission) |