C# 클래스 SIPSorcery.SIP.App.SIPMonitorFilter

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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