TCPContext

Constructors

this
this(DriverCore c, event_base* evbase, int sock, bufferevent* evt, NetworkAddress bindaddr, NetworkAddress peeraddr)
Undocumented in source.
this
this(DriverCore c, event_base* evbase, int sock, bufferevent* evt)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

checkForException
void checkForException()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MAGIC
enum MAGIC;
Undocumented in source.

Variables

connectionCallback
void delegate(TCPConnection conn) connectionCallback;
Undocumented in source.
core
DriverCore core;
Undocumented in source.
event
bufferevent* event;
Undocumented in source.
eventLoop
event_base* eventLoop;
Undocumented in source.
exception
Exception exception;
Undocumented in source.
listenEvent
deimos.event2.event_struct.event* listenEvent;
Undocumented in source.
listenOptions
TCPListenOptions listenOptions;
Undocumented in source.
local_addr
NetworkAddress local_addr;
Undocumented in source.
magic__
uint magic__;
Undocumented in source.
readOwner
Task readOwner;
Undocumented in source.
remote_addr
NetworkAddress remote_addr;
Undocumented in source.
shutdown
bool shutdown;
Undocumented in source.
socketfd
int socketfd;
Undocumented in source.
state
ConnectionState state;
Undocumented in source.
status
int status;
Undocumented in source.
statusMessage
const(char)* statusMessage;
Undocumented in source.
writeOwner
Task writeOwner;
Undocumented in source.

Meta