AsyncUDSListener

Constructors

this
this(EventLoop evl, bool unlinkFirst)

Members

Functions

kill
bool kill()

Stops accepting connections and cleans up the underlying OS resources. NOTE: MUST be called to clean up the domain socket path

run
bool run(void delegate(EventCode) delegate(AsyncUDSConnection) nothrow del)

Starts accepting connections by registering the given handler with the underlying OS event.

Mixins

__anonymous
mixin DefStatus
Undocumented in source.

Properties

local
UnixAddress local [@property getter]

Returns the unix domain socket address as an OS-specific structure.

local
UnixAddress local [@property setter]

Sets the local internet address as an OS-specific structure.

socket
fd_t socket [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
unlinkFirst
bool unlinkFirst [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_evLoop
EventLoop m_evLoop;
Undocumented in source.

Mixed In Members

From mixin DefStatus

hasError
bool hasError [@property getter]

Check this property to make sure the event loop hasn't failed

status
StatusInfo status [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
error
string error [@property getter]

Returns a human-readable error message from the underlying operating system.

Meta