Initialize a DCC resource with the given _socket, timeout value and state.
Name of this resource.
Invoked when the connection has been established.
Invoked when the connection was closed cleanly.
Invoked when _data was received.
Write to this connection.
Invoked when an error occurs.
Invoked when a listening connection has timed out.
Current state of the connection.
The timeout value of this connection in seconds.
Represents a DCC connection.