more ~master (2021-04-25T17:22:00Z)
Home
Dub
Repo
SocketServerTemplate
more
net
socketserver
Undocumented in source.
struct
SocketServerTemplate (
Policy
) {
struct
EventSocket
;
enum
SET_COUNT
;
__gshared immutable
static if
(
Policy.ReadEvents
)
static if
(
Policy.WriteEvents
)
static if
(
Policy.ErrorEvents
)
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(
Policy.ReadEvents
)
static if
(
Policy.WriteEvents
)
static if
(!(
Policy.ErrorEvents
))
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(
Policy.ReadEvents
)
static if
(!(
Policy.WriteEvents
))
static if
(
Policy.ErrorEvents
)
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(
Policy.ReadEvents
)
static if
(!(
Policy.WriteEvents
))
static if
(!(
Policy.ErrorEvents
))
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(!(
Policy.ReadEvents
))
static if
(
Policy.WriteEvents
)
static if
(
Policy.ErrorEvents
)
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(!(
Policy.ReadEvents
))
static if
(
Policy.WriteEvents
)
static if
(!(
Policy.ErrorEvents
))
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(!(
Policy.ReadEvents
))
static if
(!(
Policy.WriteEvents
))
static if
(
Policy.ErrorEvents
)
auto
setIndexToSetPropIndex
;
__gshared immutable
static if
(!(
Policy.ReadEvents
))
static if
(!(
Policy.WriteEvents
))
static if
(!(
Policy.ErrorEvents
))
auto
setIndexToSetPropIndex
;
union
select_fd_sets
;
EventSocket
[
Policy
.
MaxSocketCount
]
eventSockets
;
size_t
reservedSocketCount
;
void
add
(EventSocket socket);
static if
(
Policy.ImplementStop
)
bool
stopOnNextIteration
;
static if
(
Policy.ImplementStop
)
void
stop
();
void
run
();
uint
findSocket
(uint count, EventSocket[] eventSockets, SocketHandle handle, uint* hintReference);
}
Members
Functions
add
void
add
(EventSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
findSocket
uint
findSocket
(uint count, EventSocket[] eventSockets, SocketHandle handle, uint* hintReference)
Undocumented in source. Be warned that the author may not have intended to support it.
run
void
run
()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void
stop
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
SET_COUNT
enum
SET_COUNT
;
Undocumented in source.
Static variables
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
setIndexToSetPropIndex
auto
setIndexToSetPropIndex
;
Undocumented in source.
Structs
EventSocket
struct
EventSocket
Undocumented in source.
Unions
select_fd_sets
union
select_fd_sets
Undocumented in source.
Variables
eventSockets
EventSocket
[
Policy
.
MaxSocketCount
]
eventSockets
;
Undocumented in source.
reservedSocketCount
size_t
reservedSocketCount
;
Undocumented in source.
stopOnNextIteration
bool
stopOnNextIteration
;
Undocumented in source.
Meta
Source
See Implementation
more
net
socketserver
aliases
TimerTime
enums
EventFlags
SelectSet
functions
getCurrentTimeMillis
manifest constants
NO_TIMER
static variables
selectSetProps
structs
SelectSetProperties
SocketServerTemplate