NetworkMessage

Represents a single message to be transferred over the network by AsyncSocket.

Constructors

this
this(ubyte[] content, NetworkAddress* addr)
Undocumented in source.
this
this(NetworkMessage other)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

Content
alias Content = iovec
Undocumented in source.
Content
alias Content = WSABUF
Undocumented in source.
Header
alias Header = msghdr
Undocumented in source.

Mixins

__anonymous
mixin FreeList!(1_000)
Undocumented in source.

Properties

bufferCount
typeof(m_header.msg_iovlen) bufferCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bufferCount
typeof(m_header.msg_iovlen) bufferCount [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
buffers
Content* buffers [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
buffers
Content* buffers [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentLength
size_t contentLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentLength
size_t contentLength [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentLength
size_t contentLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentLength
size_t contentLength [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentStart
ubyte* contentStart [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentStart
ubyte* contentStart [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentStart
ubyte* contentStart [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentStart
ubyte* contentStart [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
count
size_t count [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
count
size_t count [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
flags
int flags [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
flags
int flags [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasAddress
bool hasAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
header
Header* header [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
sockaddr* name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
sockaddr* name [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
nameLength
socklen_t nameLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
nameLength
socklen_t nameLength [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
receivedAll
bool receivedAll [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
receivedAny
bool receivedAny [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sent
bool sent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
transferred
ubyte[] transferred [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Header
struct Header
Undocumented in source.

Meta

Authors

Moritz Maxeiner, moritz@ucworks.org

Date

Date: 2016