Initialize a DCC resource with the given _socket, timeout value and state.
Current state of the connection.
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.
Represents a DCC connection.