Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dialog ¶
type Dialog struct { DialogID int32 CallID string ToTag string FromTag string ServerTx interfaces.Transaction ClientTx interfaces.Transaction Cseq uint32 }
Dialog used to store track multiple transactions
type DialogManager ¶
DialogManager hold multiple dialogs
func NewDialogManager ¶
func NewDialogManager() *DialogManager
NewDialogManager returns new Dialog Manager
func (*DialogManager) DeleteDialog ¶
func (dm *DialogManager) DeleteDialog(value string)
DeleteDialog removes dialog from Dialog Manager by ID
func (*DialogManager) GetDialog ¶
func (dm *DialogManager) GetDialog(value string) *Dialog
GetDialog returns dialog by ID
func (*DialogManager) NewDialog ¶
func (dm *DialogManager) NewDialog() *Dialog
NewDialog creates a new Dialog
Click to show internal directories.
Click to hide internal directories.