TODO.txt
changeset 152 69c5b4382e39
parent 150 fa7f6ff10c67
child 153 bbd4166df95d
equal deleted inserted replaced
151:352f76a05f78 152:69c5b4382e39
     7 Add a way to broadcast status information as negotiation happens or
     7 Add a way to broadcast status information as negotiation happens or
     8 disconnects occur. Possibly a new type of object that can be sent on
     8 disconnects occur. Possibly a new type of object that can be sent on
     9 Recv along with stanzas. Or use sync.Cond to protect a state
     9 Recv along with stanzas. Or use sync.Cond to protect a state
    10 variable.
    10 variable.
    11 
    11 
    12 Asynchronously updating Client.Features is not thread safe.
    12 Asynchronously updating Client.Features is not thread safe. Use a
       
    13 public function GetFeatures() or similar. Same for setting the JID in
       
    14 bind()?
    13 
    15 
    14 NewClient shouldn't be asynchronous.
    16 NewClient should be synchronous, so it can update Features and JID and
       
    17 leave those as values rather than functions.
    15 
    18 
    16 Add a Reconnect() function.
    19 Add a Reconnect() function.
    17 
    20 
    18 Put roster and bind into separate packages, if possible.
    21 Put roster and bind into separate packages, if possible.
    19 
    22 
    20 Eliminate as many uses of Generic as possible.
    23 Eliminate as many uses of Generic as possible.
       
    24 
       
    25 Callback doesn't need to return bool. It shouldn't affect what's given
       
    26 to the client.