C# Class SIPSorcery.SIP.SIPChannel

Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Свойство Type Description
LocalTCPSockets List
SIPMessageReceived SIPMessageReceivedDelegate

Protected Properties

Свойство Type Description
Closed bool
logger log4net.ILog
m_isReliable bool
m_isTLS bool
m_localSIPEndPoint SIPEndPoint

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Method Details

Close() public abstract méthode

public abstract Close ( ) : void
Résultat void

GetConnectionsList() protected abstract méthode

protected abstract GetConnectionsList ( ) : SIPConnection>.Dictionary
Résultat SIPConnection>.Dictionary

IsConnectionEstablished() public abstract méthode

public abstract IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
remoteEndPoint System.Net.IPEndPoint
Résultat bool

PruneConnections() protected méthode

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
Résultat void

Send() public abstract méthode

public abstract Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
Résultat void

Send() public abstract méthode

public abstract Send ( IPEndPoint destinationEndPoint, byte buffer, string serverCertificateName ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
serverCertificateName string
Résultat void

Send() public abstract méthode

public abstract Send ( IPEndPoint destinationEndPoint, string message ) : void
destinationEndPoint System.Net.IPEndPoint
message string
Résultat void

Property Details

Closed protected_oe property

protected bool Closed
Résultat bool

LocalTCPSockets public_oe static_oe property

public static List LocalTCPSockets
Résultat List

SIPMessageReceived public_oe property

public SIPMessageReceivedDelegate SIPMessageReceived
Résultat SIPMessageReceivedDelegate

logger protected_oe property

protected ILog,log4net logger
Résultat log4net.ILog

m_isReliable protected_oe property

protected bool m_isReliable
Résultat bool

m_isTLS protected_oe property

protected bool m_isTLS
Résultat bool

m_localSIPEndPoint protected_oe property

protected SIPEndPoint,SIPSorcery.SIP m_localSIPEndPoint
Résultat SIPEndPoint