C# Class SIPSorcery.SIP.SilverlightTCPSIPChannel

Inheritance: SIPChannel
Show file Open project: sipsorcery/sipsorcery

Public Properties

Property Type Description
LastTransmission System.DateTime
MaxSIPTCPMessageSize int

Public Methods

Method Description
CancelConnect ( ) : void
Close ( ) : void
Connect ( IPEndPoint remoteEndPoint ) : void
IsConnectionEstablished ( IPEndPoint remoteEndPoint ) : bool
Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
Send ( IPEndPoint dstEndPoint, byte buffer, string serverCN ) : void
Send ( IPEndPoint destinationEndPoint, string message ) : void
SetLocalSIPEndPoint ( SIPEndPoint localSIPEndPoint ) : void
SilverlightTCPSIPChannel ( ) : NUnit.Framework

Protected Methods

Method Description
GetConnectionsList ( ) : SIPConnection>.Dictionary

Private Methods

Method Description
SIPSocketDisconnected ( IPEndPoint remoteEndPoint ) : void
SIPTCPMessageReceived ( SIPChannel channel, SIPEndPoint remoteEndPoint, byte buffer ) : void
Send ( string message ) : void
SocketConnect_Completed ( object sender, SocketAsyncEventArgs e ) : void
SocketRead_Completed ( object sender, SocketAsyncEventArgs e ) : void

Method Details

CancelConnect() public method

public CancelConnect ( ) : void
return void

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( IPEndPoint remoteEndPoint ) : void
remoteEndPoint System.Net.IPEndPoint
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

Send() public method

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

Send() public method

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

Send() public method

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

SetLocalSIPEndPoint() public method

public SetLocalSIPEndPoint ( SIPEndPoint localSIPEndPoint ) : void
localSIPEndPoint SIPEndPoint
return void

SilverlightTCPSIPChannel() public method

public SilverlightTCPSIPChannel ( ) : NUnit.Framework
return NUnit.Framework

Property Details

LastTransmission public property

public DateTime,System LastTransmission
return System.DateTime

MaxSIPTCPMessageSize public static property

public static int MaxSIPTCPMessageSize
return int