tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
HandlerPool.ActiveHandler
tagion
communication
HandlerPool
HandlerPool
Undocumented in source.
interface
HandlerPool
(TValue : ResponseHandler, TKey)
protected final
class
ActiveHandler {
protected
TValue
handler
;
protected
SysTime
last_timestamp
;
protected const
bool
update_timestamp
;
this
(TValue value, bool update_timestamp);
void
setResponse
(Buffer response);
bool
isExpired
(Duration dur);
}
Constructors
this
this
(TValue value, bool update_timestamp)
Undocumented in source.
Members
Functions
isExpired
bool
isExpired
(Duration dur)
Undocumented in source. Be warned that the author may not have intended to support it.
setResponse
void
setResponse
(Buffer response)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
handler
TValue
handler
;
Undocumented in source.
last_timestamp
SysTime
last_timestamp
;
Undocumented in source.
update_timestamp
bool
update_timestamp
;
Undocumented in source.
Meta
Source
See Implementation
tagion
communication
HandlerPool
HandlerPool
classes
ActiveHandler
functions
add
contains
empty
get
remove
setResponse
size
tick