Documentation
¶
Index ¶
- type SipStack
- func (ed *SipStack) ACK(handler func(interfaces.SipEventObject))
- func (ed *SipStack) BYE(handler func(interfaces.SipEventObject))
- func (ed *SipStack) CANCEL(handler func(interfaces.SipEventObject))
- func (ed *SipStack) CreateListenPoint(protocol string, host string, port int) interfaces.ListeningPoint
- func (ed *SipStack) GetTransactionManager() *transaction.TransactionManager
- func (ed *SipStack) INFO(handler func(interfaces.SipEventObject))
- func (ed *SipStack) INVITE(handler func(interfaces.SipEventObject))
- func (ed *SipStack) IsAlive() bool
- func (ed *SipStack) MESSAGE(handler func(interfaces.SipEventObject))
- func (ed *SipStack) NOTIFY(handler func(interfaces.SipEventObject))
- func (ed *SipStack) OPTIONS(handler func(interfaces.SipEventObject))
- func (ed *SipStack) PRACK(handler func(interfaces.SipEventObject))
- func (ed *SipStack) PUBLISH(handler func(interfaces.SipEventObject))
- func (ed *SipStack) REFER(handler func(interfaces.SipEventObject))
- func (ed *SipStack) REGISTER(handler func(interfaces.SipEventObject))
- func (ed *SipStack) SUBSCRIBE(handler func(interfaces.SipEventObject))
- func (ed *SipStack) SetSipListener(listener interfaces.SipListener)
- func (ed *SipStack) Start()
- func (ed *SipStack) Stop()
- func (ed *SipStack) UPDATE(handler func(interfaces.SipEventObject))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SipStack ¶
type SipStack struct { Name string ListeningPoints []interfaces.ListeningPoint OutputPoint chan message.SipMsg InputPoint chan message.SipMsg Alive bool TransManager *transaction.TransactionManager Dialogs []dialog.Dialog TransportChannel chan interfaces.SipEventObject // contains filtered or unexported fields }
SipStack has multiple protocol listning points
func (*SipStack) ACK ¶
func (ed *SipStack) ACK(handler func(interfaces.SipEventObject))
func (*SipStack) BYE ¶
func (ed *SipStack) BYE(handler func(interfaces.SipEventObject))
func (*SipStack) CANCEL ¶
func (ed *SipStack) CANCEL(handler func(interfaces.SipEventObject))
func (*SipStack) CreateListenPoint ¶
func (ed *SipStack) CreateListenPoint(protocol string, host string, port int) interfaces.ListeningPoint
CreateListenPoint creates listening point to the event dispatcher
func (*SipStack) GetTransactionManager ¶
func (ed *SipStack) GetTransactionManager() *transaction.TransactionManager
GetTransactionManager returns TransactionManager
func (*SipStack) INFO ¶
func (ed *SipStack) INFO(handler func(interfaces.SipEventObject))
func (*SipStack) INVITE ¶
func (ed *SipStack) INVITE(handler func(interfaces.SipEventObject))
func (*SipStack) MESSAGE ¶
func (ed *SipStack) MESSAGE(handler func(interfaces.SipEventObject))
func (*SipStack) NOTIFY ¶
func (ed *SipStack) NOTIFY(handler func(interfaces.SipEventObject))
func (*SipStack) OPTIONS ¶
func (ed *SipStack) OPTIONS(handler func(interfaces.SipEventObject))
func (*SipStack) PRACK ¶
func (ed *SipStack) PRACK(handler func(interfaces.SipEventObject))
func (*SipStack) PUBLISH ¶
func (ed *SipStack) PUBLISH(handler func(interfaces.SipEventObject))
func (*SipStack) REFER ¶
func (ed *SipStack) REFER(handler func(interfaces.SipEventObject))
func (*SipStack) REGISTER ¶
func (ed *SipStack) REGISTER(handler func(interfaces.SipEventObject))
func (*SipStack) SUBSCRIBE ¶
func (ed *SipStack) SUBSCRIBE(handler func(interfaces.SipEventObject))
func (*SipStack) SetSipListener ¶
func (ed *SipStack) SetSipListener(listener interfaces.SipListener)
SetSipListener sets a struct that follows the SipListener interface
func (*SipStack) UPDATE ¶
func (ed *SipStack) UPDATE(handler func(interfaces.SipEventObject))
Click to show internal directories.
Click to hide internal directories.