BesterConnection

Undocumented in source.

Constructors

this
this(Socket clientConnection, BesterServer server)
Undocumented in source.

Destructor

~this
~this()

Destructor for BesterConnection

Members

Enums

Scope
enum Scope
Undocumented in source.
StatusType
enum StatusType

Type of the status report. Either 0 (for success) or 1 (for failure).

Functions

getCredentials
string[] getCredentials()

Returns an array of the username and password.

getSocket
Socket getSocket()
Undocumented in source. Be warned that the author may not have intended to support it.
getType
Scope getType()
Undocumented in source. Be warned that the author may not have intended to support it.
sendStatusReport
void sendStatusReport(StatusType statusType, string id)

Send a status report for the message with id id of type StatusType.

shutdown
void shutdown()

Shutdown the BesterConnection by stopping the read-write loop and closing the socket.

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

Variables

server
BesterServer server;
Undocumented in source.

Meta