C# Класс SIPSorcery.SIP.SIPChannel

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

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

Свойство Тип Описание
LocalTCPSockets List
SIPMessageReceived SIPMessageReceivedDelegate

Защищенные свойства (Protected)

Свойство Тип Описание
Closed bool
logger log4net.ILog
m_isReliable bool
m_isTLS bool
m_localSIPEndPoint SIPEndPoint

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

Метод Описание
Close ( ) : void
IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
Send ( IPEndPoint destinationEndPoint, byte buffer, string serverCertificateName ) : void
Send ( IPEndPoint destinationEndPoint, string message ) : void

Защищенные методы

Метод Описание
GetConnectionsList ( ) : SIPConnection>.Dictionary
PruneConnections ( string threadName ) : void

Periodically checks the established connections and closes any that have not had a transmission for a specified period or where the number of connections allowed per IP address has been exceeded. Only relevant for connection oriented channels such as TCP and TLS.

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

Close() публичный абстрактный Метод

public abstract Close ( ) : void
Результат void

GetConnectionsList() защищенный абстрактный Метод

protected abstract GetConnectionsList ( ) : SIPConnection>.Dictionary
Результат SIPConnection>.Dictionary

IsConnectionEstablished() публичный абстрактный Метод

public abstract IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
remoteEndPoint System.Net.IPEndPoint
Результат bool

PruneConnections() защищенный Метод

Periodically checks the established connections and closes any that have not had a transmission for a specified period or where the number of connections allowed per IP address has been exceeded. Only relevant for connection oriented channels such as TCP and TLS.
protected PruneConnections ( string threadName ) : void
threadName string
Результат void

Send() публичный абстрактный Метод

public abstract Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
Результат void

Send() публичный абстрактный Метод

public abstract Send ( IPEndPoint destinationEndPoint, byte buffer, string serverCertificateName ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
serverCertificateName string
Результат void

Send() публичный абстрактный Метод

public abstract Send ( IPEndPoint destinationEndPoint, string message ) : void
destinationEndPoint System.Net.IPEndPoint
message string
Результат void

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

Closed защищенное свойство

protected bool Closed
Результат bool

LocalTCPSockets публичное статическое свойство

public static List LocalTCPSockets
Результат List

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

public SIPMessageReceivedDelegate SIPMessageReceived
Результат SIPMessageReceivedDelegate

logger защищенное свойство

protected ILog,log4net logger
Результат log4net.ILog

m_isReliable защищенное свойство

protected bool m_isReliable
Результат bool

m_isTLS защищенное свойство

protected bool m_isTLS
Результат bool

m_localSIPEndPoint защищенное свойство

protected SIPEndPoint,SIPSorcery.SIP m_localSIPEndPoint
Результат SIPEndPoint