cheetah ~master (2017-05-16T17:43:37Z)
Dub
Repo
SocketServer.attach
cheetah
socketserver
SocketServer
Attachs an event.
void
attach
(
SocketEventType
eventType
,
SocketEvent
!
T
event
)
class
SocketServer
(T)
void
attach
(
SocketEventType
eventType
,
SocketEvent
!
T
event
)
void
attach
(
SocketEventType
eventType
,
SocketEvent
!
T
[]
events
)
Parameters
eventType
Type:
SocketEventType
The event type to attach.
event
Type:
SocketEvent
!
T
The event handler to attach.
Meta
Source
See Implementation
cheetah
socketserver
SocketServer
constructors
this
functions
attach
fireEvent
getClient
getClients
moveNext
removeClient
report
start
stop
properties
copyConnectEvents
copyDisconnectEvents
copyErrorEvents
copyReceiveEvents
storeClients
Attachs an event.