C# Class SIPSorcery.SIP.SIPTCPChannel

Inheritance: SIPChannel
Show file Open project: TilmannBach/sipsorcery-fork Class Usage Examples

Public Methods

Method Description
Close ( ) : void
IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
ReceiveCallback ( IAsyncResult ar ) : void
SIPTCPChannel ( IPEndPoint endPoint ) : NUnit.Framework
Send ( IPEndPoint dstEndPoint, byte buffer ) : void
Send ( IPEndPoint dstEndPoint, byte buffer, string serverCertificateName ) : void
Send ( IPEndPoint destinationEndPoint, string message ) : void

Protected Methods

Method Description
GetConnectionsList ( ) : SIPConnection>.Dictionary

Private Methods

Method Description
AcceptConnections ( string threadName ) : void
Dispose ( bool disposing ) : void
EndConnect ( IAsyncResult ar ) : void
EndSend ( IAsyncResult ar ) : void
Initialise ( ) : void
SIPTCPMessageReceived ( SIPChannel channel, SIPEndPoint remoteEndPoint, byte buffer ) : void
SIPTCPSocketDisconnected ( IPEndPoint remoteEndPoint ) : void

Method Details

Close() public method

public Close ( ) : void
return void

GetConnectionsList() protected method

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

IsConnectionEstablished() public method

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

ReceiveCallback() public method

public ReceiveCallback ( IAsyncResult ar ) : void
ar IAsyncResult
return void

SIPTCPChannel() public method

public SIPTCPChannel ( IPEndPoint endPoint ) : NUnit.Framework
endPoint System.Net.IPEndPoint
return NUnit.Framework

Send() public method

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

Send() public method

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

Send() public method

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