C# Class SIPSorcery.SIP.SIPChannel

Mostra file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
LocalTCPSockets List
SIPMessageReceived SIPMessageReceivedDelegate

Protected Properties

Property Type Description
Closed bool
logger log4net.ILog
m_isReliable bool
m_isTLS bool
m_localSIPEndPoint SIPEndPoint

Public Methods

Method 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

Protected Methods

Method 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 method

public abstract Close ( ) : void
return void

GetConnectionsList() protected abstract method

protected abstract GetConnectionsList ( ) : SIPConnection>.Dictionary
return SIPConnection>.Dictionary

IsConnectionEstablished() public abstract method

public abstract IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
remoteEndPoint System.Net.IPEndPoint
return bool

PruneConnections() protected method

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
return void

Send() public abstract method

public abstract Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
return void

Send() public abstract method

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

Send() public abstract method

public abstract Send ( IPEndPoint destinationEndPoint, string message ) : void
destinationEndPoint System.Net.IPEndPoint
message string
return void

Property Details

Closed protected_oe property

protected bool Closed
return bool

LocalTCPSockets public_oe static_oe property

public static List LocalTCPSockets
return List

SIPMessageReceived public_oe property

public SIPMessageReceivedDelegate SIPMessageReceived
return SIPMessageReceivedDelegate

logger protected_oe property

protected ILog,log4net logger
return log4net.ILog

m_isReliable protected_oe property

protected bool m_isReliable
return bool

m_isTLS protected_oe property

protected bool m_isTLS
return bool

m_localSIPEndPoint protected_oe property

protected SIPEndPoint,SIPSorcery.SIP m_localSIPEndPoint
return SIPEndPoint