C# Class SIPSorcery.Net.STUNServer

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

Méthodes publiques

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

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

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

STUNSecondaryReceived() public méthode

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

STUNServer() public méthode

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

Stop() public méthode

public Stop ( ) : void
Résultat void