C# 클래스 SIPSorcery.Web.Services.MonitorProxyManager

상속: ISIPMonitorPublisher
파일 보기 프로젝트 열기: TilmannBach/sipsorcery-fork 1 사용 예제들

공개 메소드들

메소드 설명
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
MonitorProxyManager ( ) : System
Subscribe ( string customerUsername, string adminId, string address, string sessionID, string subject, string filter, int expiry, string udpSocket, string &subscribeError ) : string

비공개 메소드들

메소드 설명
CreateProxy ( string proxyName ) : void
GetClientEndPointNames ( ) : List

Interrogates the app.config file to get a list of WCF client end points that implement the ISIPMonitorPublisher contract. This is to allow this class to connect to multiple notification servers if needed.

InitialiseProxies ( ) : void
IsProxyAvailable ( string proxyName ) : bool
ProxyChannelFaulted ( object sender, EventArgs e ) : void

This method is an event handler for communication fualts on a proxy channel. When a fault occurs ALL the available proxies will be checked for a fault and those in a faulted state will be closed and replaced.

This occurs when the channel to the SIP monitoring server that is publishing the events is faulted. This can occur if the SIP monitoring server is shutdown which will close the socket.

메소드 상세

CloseConnection() 공개 메소드

public CloseConnection ( string address ) : void
address string
리턴 void

CloseSession() 공개 메소드

public CloseSession ( string address, string sessionID ) : void
address string
sessionID string
리턴 void

ExtendSession() 공개 메소드

public ExtendSession ( string address, string sessionID, int expiry ) : string
address string
sessionID string
expiry int
리턴 string

GetNotifications() 공개 메소드

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

IsAlive() 공개 메소드

public IsAlive ( ) : bool
리턴 bool

IsNotificationReady() 공개 메소드

public IsNotificationReady ( string address ) : bool
address string
리턴 bool

MonitorEventReceived() 공개 메소드

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

MonitorProxyManager() 공개 메소드

public MonitorProxyManager ( ) : System
리턴 System

Subscribe() 공개 메소드

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
리턴 string