Show / Hide Table of Contents

Class STUNServer

Inheritance
System.Object
STUNServer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class STUNServer

Constructors

| Improve this Doc View Source

STUNServer(IPEndPoint, STUNSendMessageDelegate, IPEndPoint, STUNSendMessageDelegate)

Declaration
public STUNServer(IPEndPoint primaryEndPoint, STUNSendMessageDelegate primarySend, IPEndPoint secondaryEndPoint, STUNSendMessageDelegate secondarySend)
Parameters
Type Name Description
System.Net.IPEndPoint primaryEndPoint
STUNSendMessageDelegate primarySend
System.Net.IPEndPoint secondaryEndPoint
STUNSendMessageDelegate secondarySend

Methods

| Improve this Doc View Source

Stop()

Declaration
public void Stop()
| Improve this Doc View Source

STUNPrimaryReceived(IPEndPoint, IPEndPoint, Byte[], Int32)

Declaration
public void STUNPrimaryReceived(IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte[] buffer, int bufferLength)
Parameters
Type Name Description
System.Net.IPEndPoint localEndPoint
System.Net.IPEndPoint receivedEndPoint
System.Byte[] buffer
System.Int32 bufferLength
| Improve this Doc View Source

STUNSecondaryReceived(IPEndPoint, IPEndPoint, Byte[], Int32)

Declaration
public void STUNSecondaryReceived(IPEndPoint localEndPoint, IPEndPoint receivedEndPoint, byte[] buffer, int bufferLength)
Parameters
Type Name Description
System.Net.IPEndPoint localEndPoint
System.Net.IPEndPoint receivedEndPoint
System.Byte[] buffer
System.Int32 bufferLength

Events

| Improve this Doc View Source

STUNPrimaryRequestInTraceEvent

Declaration
public event STUNServerRequestInTraceDelegate STUNPrimaryRequestInTraceEvent
Event Type
Type Description
STUNServerRequestInTraceDelegate
| Improve this Doc View Source

STUNPrimaryResponseOutTraceEvent

Declaration
public event STUNServerResponseOutTraceDelegate STUNPrimaryResponseOutTraceEvent
Event Type
Type Description
STUNServerResponseOutTraceDelegate
| Improve this Doc View Source

STUNSecondaryRequestInTraceEvent

Declaration
public event STUNServerRequestInTraceDelegate STUNSecondaryRequestInTraceEvent
Event Type
Type Description
STUNServerRequestInTraceDelegate
| Improve this Doc View Source

STUNSecondaryResponseOutTraceEvent

Declaration
public event STUNServerResponseOutTraceDelegate STUNSecondaryResponseOutTraceEvent
Event Type
Type Description
STUNServerResponseOutTraceDelegate

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX