Show / Hide Table of Contents

Class EventBasedNatPunchListener

An implementation of INatPunchListener that maps callbacks to events.

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

Events

NatIntroductionRequest

Event triggered when a NAT introduction request is received.

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

NatIntroductionSuccess

Event triggered when NAT punchthrough is successfully completed.

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

Implements

INatPunchListener
In this article
Back to top Generated by DocFX