Show / Hide Table of Contents

Class EventBasedNatPunchListener

Inheritance
System.Object
EventBasedNatPunchListener
Implements
INatPunchListener
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public class EventBasedNatPunchListener : INatPunchListener

Events

NatIntroductionRequest

Declaration
public event EventBasedNatPunchListener.OnNatIntroductionRequest NatIntroductionRequest
Event Type
Type Description
LiteNetLib.EventBasedNatPunchListener.OnNatIntroductionRequest

NatIntroductionSuccess

Declaration
public event EventBasedNatPunchListener.OnNatIntroductionSuccess NatIntroductionSuccess
Event Type
Type Description
LiteNetLib.EventBasedNatPunchListener.OnNatIntroductionSuccess

Explicit Interface Implementations

INatPunchListener.OnNatIntroductionRequest(IPEndPoint, IPEndPoint, String)

Declaration
void INatPunchListener.OnNatIntroductionRequest(IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, string token)
Parameters
Type Name Description
System.Net.IPEndPoint localEndPoint
System.Net.IPEndPoint remoteEndPoint
System.String token

INatPunchListener.OnNatIntroductionSuccess(IPEndPoint, NatAddressType, String)

Declaration
void INatPunchListener.OnNatIntroductionSuccess(IPEndPoint targetEndPoint, NatAddressType type, string token)
Parameters
Type Name Description
System.Net.IPEndPoint targetEndPoint
NatAddressType type
System.String token

Implements

INatPunchListener
In This Article
Back to top Generated by DocFX