Search
Preparing search index...
The search index is not available
kaptan
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PacketFilter
Class PacketFilter
Hierarchy
PacketFilter
Index
Constructors
constructor
Properties
callbacks
Methods
add
data
id
protocol
ref
require
test
from
Constructors
constructor
new
Packet
Filter
(
callback
?:
undefined
|
function
)
:
PacketFilter
Parameters
Optional
callback:
undefined
|
function
Returns
PacketFilter
Properties
Private
callbacks
callbacks
:
function
[]
= []
Methods
add
add
(
callback
:
function
)
:
this
Parameters
callback:
function
(
packet
:
Packet
)
:
boolean
Parameters
packet:
Packet
Returns
boolean
Returns
this
data
data
(
val
:
object
|
string
)
:
this
Parameters
val:
object
|
string
Returns
this
id
id
(
val
:
string
)
:
this
Parameters
val:
string
Returns
this
protocol
protocol
(
protocol
:
PacketProtocol
)
:
this
Parameters
protocol:
PacketProtocol
Returns
this
ref
ref
(
val
:
string
)
:
this
Parameters
val:
string
Returns
this
require
require
(
...
keys
:
string
[]
)
:
this
Parameters
Rest
...
keys:
string
[]
Returns
this
test
test
(
packet
:
Packet
)
:
boolean
Parameters
packet:
Packet
Returns
boolean
Static
from
from
(
filterData
:
IPacketFilter
)
:
PacketFilter
Parameters
filterData:
IPacketFilter
Returns
PacketFilter
Globals
Address
Family
Packet
Protocol
Address
Events
IService
Options
Kaptan
Logger
Network
Packet
Packet
Filter
constructor
callbacks
add
data
id
protocol
ref
require
test
from
Packet
Handler
Remote
Remote
Service
Service
Service
Container
Socket
IPacket
IPacket
Handler
IPacket
Options
IRemote
Service
Opts
IService
Service
Constructor
IPacket
Filter
Log
Color
to
Hyphen
Space
uid
Generated using
TypeDoc