C# Класс SIPSorcery.SIP.App.SIPMonitorFilter

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BaseType string
EventFilterDescr string
EventTypeId int
FileLogDuration int
FileLogname string
IPAddress string
MachineEventTypeIds List
RegexFilter string
SIPEventDialogURI SIPSorcery.SIP.SIPURI
SIPEventPresenceURI SIPSorcery.SIP.SIPURI
SIPRequestFilter string
ServerIPAddress string
ServerTypeId int
Username string

Открытые методы

Метод Описание
GetFilterDescription ( ) : string
SIPMonitorFilter ( string filter ) : NUnit.Framework
ShowEvent ( SIPMonitorEventTypesEnum eventType, SIPEndPoint serverEndPoint ) : bool
ShowIPAddress ( string ipAddress ) : bool
ShowMachineEvent ( SIPMonitorMachineEventTypesEnum eventType ) : bool
ShowRegex ( string message ) : bool
ShowSIPMonitorEvent ( SIPMonitorEvent proxyEvent ) : bool

Rules for displaying events. 1. The event type is checked to see if it matches. If no event type has been specified than all events EXCEPT FullSIPTrace are matched, 2. If the event type is FullSIPTrace then the messages can be filtered on the request type. If the request type is not set all SIP trace messages are matched otherwise only those pertaining to the request type specified, 3. The server type is checked, if it's not set all events are matched, 4. If the event has matched up until this point a decision is now made as to whether to display or reject it: a. If the IPAddress filter is set is checked, if it matches the event is displayed otherwise it's rejected, b. If the username AND server IP AND request type AND regex filters all match the vent is displayed otherwise rejected.

ShowServer ( SIPMonitorServerTypesEnum eventServer ) : bool
ShowServerIPAddress ( string serverIPAddress ) : bool
ShowUsername ( string username ) : bool

Описание методов

GetFilterDescription() публичный Метод

public GetFilterDescription ( ) : string
Результат string

SIPMonitorFilter() публичный Метод

public SIPMonitorFilter ( string filter ) : NUnit.Framework
filter string
Результат NUnit.Framework

ShowEvent() публичный Метод

public ShowEvent ( SIPMonitorEventTypesEnum eventType, SIPEndPoint serverEndPoint ) : bool
eventType SIPMonitorEventTypesEnum
serverEndPoint SIPSorcery.SIP.SIPEndPoint
Результат bool

ShowIPAddress() публичный Метод

public ShowIPAddress ( string ipAddress ) : bool
ipAddress string
Результат bool

ShowMachineEvent() публичный Метод

public ShowMachineEvent ( SIPMonitorMachineEventTypesEnum eventType ) : bool
eventType SIPMonitorMachineEventTypesEnum
Результат bool

ShowRegex() публичный Метод

public ShowRegex ( string message ) : bool
message string
Результат bool

ShowSIPMonitorEvent() публичный Метод

Rules for displaying events. 1. The event type is checked to see if it matches. If no event type has been specified than all events EXCEPT FullSIPTrace are matched, 2. If the event type is FullSIPTrace then the messages can be filtered on the request type. If the request type is not set all SIP trace messages are matched otherwise only those pertaining to the request type specified, 3. The server type is checked, if it's not set all events are matched, 4. If the event has matched up until this point a decision is now made as to whether to display or reject it: a. If the IPAddress filter is set is checked, if it matches the event is displayed otherwise it's rejected, b. If the username AND server IP AND request type AND regex filters all match the vent is displayed otherwise rejected.
public ShowSIPMonitorEvent ( SIPMonitorEvent proxyEvent ) : bool
proxyEvent SIPMonitorEvent
Результат bool

ShowServer() публичный Метод

public ShowServer ( SIPMonitorServerTypesEnum eventServer ) : bool
eventServer SIPMonitorServerTypesEnum
Результат bool

ShowServerIPAddress() публичный Метод

public ShowServerIPAddress ( string serverIPAddress ) : bool
serverIPAddress string
Результат bool

ShowUsername() публичный Метод

public ShowUsername ( string username ) : bool
username string
Результат bool

Описание свойств

BaseType публичное свойство

public string BaseType
Результат string

EventFilterDescr публичное свойство

public string EventFilterDescr
Результат string

EventTypeId публичное свойство

public int EventTypeId
Результат int

FileLogDuration публичное свойство

public int FileLogDuration
Результат int

FileLogname публичное свойство

public string FileLogname
Результат string

IPAddress публичное свойство

public string IPAddress
Результат string

MachineEventTypeIds публичное свойство

public List MachineEventTypeIds
Результат List

RegexFilter публичное свойство

public string RegexFilter
Результат string

SIPEventDialogURI публичное свойство

public SIPURI,SIPSorcery.SIP SIPEventDialogURI
Результат SIPSorcery.SIP.SIPURI

SIPEventPresenceURI публичное свойство

public SIPURI,SIPSorcery.SIP SIPEventPresenceURI
Результат SIPSorcery.SIP.SIPURI

SIPRequestFilter публичное свойство

public string SIPRequestFilter
Результат string

ServerIPAddress публичное свойство

public string ServerIPAddress
Результат string

ServerTypeId публичное свойство

public int ServerTypeId
Результат int

Username публичное свойство

public string Username
Результат string