state(self)

The state of the connection as a bit field. The state has a local and
a remote component. Each of these can be in one of three states: UNINIT,
ACTIVE or CLOSED. These can be tested by masking against LOCAL_UNINIT,
LOCAL_ACTIVE, LOCAL_CLOSED, REMOTE_UNINIT, REMOTE_ACTIVE and
REMOTE_CLOSED.

Decorators:

@property

work_head(self)

error(self)

hostname

Value:

property(_get_hostname, _set_hostname, doc= """
Set the name of the host (either fully qualified or relative) to which
this
connection is connecting to. This information may be used by the remo
te
peer to determine the correct back-end service to connect the client t
o.
This value will be sent in the Open performative, and will be used by ...