C# Class SIPSorcery.Net.STUNServer

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
STUNPrimaryReceived ( IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte buffer, int bufferLength ) : void
STUNSecondaryReceived ( IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte buffer, int bufferLength ) : void
STUNServer ( IPEndPoint primaryEndPoint, STUNSendMessageDelegate primarySend, IPEndPoint secondaryEndPoint, STUNSendMessageDelegate secondarySend ) : NUnit.Framework
Stop ( ) : void

Private Methods

Method Description
FireSTUNPrimaryRequestInTraceEvent ( IPEndPoint localEndPoint, IPEndPoint fromEndPoint, STUNMessage stunMessage ) : void
FireSTUNPrimaryResponseOutTraceEvent ( IPEndPoint localEndPoint, IPEndPoint toEndPoint, STUNMessage stunMessage ) : void
FireSTUNSecondaryRequestInTraceEvent ( IPEndPoint localEndPoint, IPEndPoint fromEndPoint, STUNMessage stunMessage ) : void
FireSTUNSecondaryResponseOutTraceEvent ( IPEndPoint localEndPoint, IPEndPoint toEndPoint, STUNMessage stunMessage ) : void
GetResponse ( IPEndPoint receivedEndPoint, STUNMessage stunRequest, bool primary ) : STUNMessage

Method Details

STUNPrimaryReceived() public method

public STUNPrimaryReceived ( IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte buffer, int bufferLength ) : void
localEndPoint System.Net.IPEndPoint
receivedEndPoint System.Net.IPEndPoint
buffer byte
bufferLength int
return void

STUNSecondaryReceived() public method

public STUNSecondaryReceived ( IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte buffer, int bufferLength ) : void
localEndPoint System.Net.IPEndPoint
receivedEndPoint System.Net.IPEndPoint
buffer byte
bufferLength int
return void

STUNServer() public method

public STUNServer ( IPEndPoint primaryEndPoint, STUNSendMessageDelegate primarySend, IPEndPoint secondaryEndPoint, STUNSendMessageDelegate secondarySend ) : NUnit.Framework
primaryEndPoint System.Net.IPEndPoint
primarySend STUNSendMessageDelegate
secondaryEndPoint System.Net.IPEndPoint
secondarySend STUNSendMessageDelegate
return NUnit.Framework

Stop() public method

public Stop ( ) : void
return void