Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PacketFilter

Hierarchy

  • PacketFilter

Index

Constructors

Properties

Methods

Constructors

constructor

  • new PacketFilter(callback?: undefined | function): PacketFilter

Properties

Private callbacks

callbacks: function[] = []

Methods

add

  • add(callback: function): this

data

  • data(val: object | string): this

id

  • id(val: string): this

protocol

ref

  • ref(val: string): this

require

  • require(...keys: string[]): this

test

  • test(packet: Packet): boolean

Static from

Generated using TypeDoc