TODO.txt
author Chris Jones <christian.jones@sri.com>
Sat, 07 Sep 2013 10:04:44 -0700
changeset 126 367e76b3028e
parent 123 42a9995faa38
child 127 a8f9a0c07fc8
permissions -rw-r--r--
Moved the library code into an xmpp directory.

Extension.StanzaHandlers should use reflection, not constructor
functions.

Review all these *Client receiver methods. They should probably either
all be receivers, or none.

Maybe put auth-related stuff into its own structure inside Client,
instead of at Client's top level.

Rename stanzaHandler to something like idCallback. Same for the
HandleStanza function.

Replace inputControl with something like an enum.

Rename In and Out channels to Recv and Send.

Add a way to broadcast status information as negotiation happens or
disconnects occur. Possibly a new type of object that can be sent on
Recv along with stanzas. Or use sync.Cond to protect a state
variable.

Asynchronously updating Client.Features is not thread safe.

NewClient shouldn't be asynchronous.

Add a Reconnect() function.

Put roster and bind into separate packages, if possible.

Eliminate as many uses of Generic as possible.

Don't hard-code TLS auto-accept certificates; instead, make it a
config file option.