C# Class SIPSorcery.Web.Services.SIPMonitorUDPSink

A sink for SIP monitor events that sets up and manages event sessions using a WCF channel but receives the event data on a UDP socket.
Inheritance: ISIPMonitorPublisher
Show file Open project: TilmannBach/sipsorcery-fork

Public Properties

Property Type Description
Exit bool

Public Methods

Method Description
CloseConnection ( string address ) : void
CloseSession ( string address, string sessionID ) : void
ExtendSession ( string address, string sessionID, int expiry ) : string
GetNotifications ( string address, string &sessionID, string &sessionError ) : List
IsAlive ( ) : bool
IsNotificationReady ( string address ) : bool
MonitorEventReceived ( SIPMonitorEvent monitorEvent ) : void
SIPMonitorUDPSink ( string udpSocket ) : System
Subscribe ( string customerUsername, string adminId, string address, string sessionID, string subject, string filter, int expiry, string udpSocket, string &subscribeError ) : string

Private Methods

Method Description
Listen ( ) : void

Method Details

CloseConnection() public method

public CloseConnection ( string address ) : void
address string
return void

CloseSession() public method

public CloseSession ( string address, string sessionID ) : void
address string
sessionID string
return void

ExtendSession() public method

public ExtendSession ( string address, string sessionID, int expiry ) : string
address string
sessionID string
expiry int
return string

GetNotifications() public method

public GetNotifications ( string address, string &sessionID, string &sessionError ) : List
address string
sessionID string
sessionError string
return List

IsAlive() public method

public IsAlive ( ) : bool
return bool

IsNotificationReady() public method

public IsNotificationReady ( string address ) : bool
address string
return bool

MonitorEventReceived() public method

public MonitorEventReceived ( SIPMonitorEvent monitorEvent ) : void
monitorEvent SIPSorcery.SIP.App.SIPMonitorEvent
return void

SIPMonitorUDPSink() public method

public SIPMonitorUDPSink ( string udpSocket ) : System
udpSocket string
return System

Subscribe() public method

public Subscribe ( string customerUsername, string adminId, string address, string sessionID, string subject, string filter, int expiry, string udpSocket, string &subscribeError ) : string
customerUsername string
adminId string
address string
sessionID string
subject string
filter string
expiry int
udpSocket string
subscribeError string
return string

Property Details

Exit public property

public bool Exit
return bool