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 SourceSTUNServer(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 SourceStop()
Declaration
public void Stop()
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 |
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 SourceSTUNPrimaryRequestInTraceEvent
Declaration
public event STUNServerRequestInTraceDelegate STUNPrimaryRequestInTraceEvent
Event Type
Type | Description |
---|---|
STUNServerRequestInTraceDelegate |
STUNPrimaryResponseOutTraceEvent
Declaration
public event STUNServerResponseOutTraceDelegate STUNPrimaryResponseOutTraceEvent
Event Type
Type | Description |
---|---|
STUNServerResponseOutTraceDelegate |
STUNSecondaryRequestInTraceEvent
Declaration
public event STUNServerRequestInTraceDelegate STUNSecondaryRequestInTraceEvent
Event Type
Type | Description |
---|---|
STUNServerRequestInTraceDelegate |
STUNSecondaryResponseOutTraceEvent
Declaration
public event STUNServerResponseOutTraceDelegate STUNSecondaryResponseOutTraceEvent
Event Type
Type | Description |
---|---|
STUNServerResponseOutTraceDelegate |