C# Class SIPSorcery.SIP.App.SIPMonitorConsoleEvent

Describes the types of events that can be sent by the different SIP Servers to SIP Monitor clients.
Inheritance: SIPMonitorEvent
Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
DestinationEndPoint SIPEndPoint
EventType SIPMonitorEventTypesEnum
ServerEndPoint SIPEndPoint
ServerType SIPMonitorServerTypesEnum

Public Methods

Method Description
ParseClientControlEventCSV ( string eventCSV ) : SIPMonitorConsoleEvent
SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, SIPEndPoint serverSocket, SIPEndPoint fromSocket, SIPEndPoint toSocket ) : NUnit.Framework
SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, SIPRequest sipRequest, SIPResponse sipResponse, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint, SIPCallDirection callDirection ) : NUnit.Framework
SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, string username ) : NUnit.Framework
SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, string username, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint ) : NUnit.Framework
ToCSV ( ) : string
ToConsoleString ( string adminId ) : string

Private Methods

Method Description
SIPMonitorConsoleEvent ( ) : NUnit.Framework

Method Details

ParseClientControlEventCSV() public static method

public static ParseClientControlEventCSV ( string eventCSV ) : SIPMonitorConsoleEvent
eventCSV string
return SIPMonitorConsoleEvent

SIPMonitorConsoleEvent() public method

public SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, SIPEndPoint serverSocket, SIPEndPoint fromSocket, SIPEndPoint toSocket ) : NUnit.Framework
serverType SIPMonitorServerTypesEnum
eventType SIPMonitorEventTypesEnum
message string
serverSocket SIPEndPoint
fromSocket SIPEndPoint
toSocket SIPEndPoint
return NUnit.Framework

SIPMonitorConsoleEvent() public method

public SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, SIPRequest sipRequest, SIPResponse sipResponse, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint, SIPCallDirection callDirection ) : NUnit.Framework
serverType SIPMonitorServerTypesEnum
eventType SIPMonitorEventTypesEnum
message string
sipRequest SIPRequest
sipResponse SIPResponse
localEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
callDirection SIPCallDirection
return NUnit.Framework

SIPMonitorConsoleEvent() public method

public SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, string username ) : NUnit.Framework
serverType SIPMonitorServerTypesEnum
eventType SIPMonitorEventTypesEnum
message string
username string
return NUnit.Framework

SIPMonitorConsoleEvent() public method

public SIPMonitorConsoleEvent ( SIPMonitorServerTypesEnum serverType, SIPMonitorEventTypesEnum eventType, string message, string username, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint ) : NUnit.Framework
serverType SIPMonitorServerTypesEnum
eventType SIPMonitorEventTypesEnum
message string
username string
localEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
return NUnit.Framework

ToCSV() public method

public ToCSV ( ) : string
return string

ToConsoleString() public method

public ToConsoleString ( string adminId ) : string
adminId string
return string

Property Details

DestinationEndPoint public property

public SIPEndPoint DestinationEndPoint
return SIPEndPoint

EventType public property

public SIPMonitorEventTypesEnum EventType
return SIPMonitorEventTypesEnum

ServerEndPoint public property

public SIPEndPoint ServerEndPoint
return SIPEndPoint

ServerType public property

public SIPMonitorServerTypesEnum ServerType
return SIPMonitorServerTypesEnum