author | Chris Jones <chris@cjones.org> |
Sun, 29 Sep 2013 21:55:08 -0600 | |
changeset 160 | ba2428230f71 |
parent 158 | 2d948fcbb5d7 |
child 162 | 7b5586a5e109 |
permissions | -rw-r--r-- |
150
fa7f6ff10c67
Code reorder and doc cleanup.
Chris Jones <christian.jones@sri.com>
parents:
146
diff
changeset
|
1 |
Review all the *Client receiver methods in layer3.go. They should |
fa7f6ff10c67
Code reorder and doc cleanup.
Chris Jones <christian.jones@sri.com>
parents:
146
diff
changeset
|
2 |
probably either all be receivers, or none. |
119 | 3 |
|
4 |
Add a Reconnect() function. |
|
5 |
||
6 |
Eliminate as many uses of Generic as possible. |
|
152 | 7 |
|
153
bbd4166df95d
Simplified the API: There's only one constructor, and it does everything necessary to initiate the stream. StartSession() and Roster.Update() have both been eliminated.
Chris Jones <christian.jones@sri.com>
parents:
152
diff
changeset
|
8 |
Think about how to gracefully shutdown. Probably have a Close() |
bbd4166df95d
Simplified the API: There's only one constructor, and it does everything necessary to initiate the stream. StartSession() and Roster.Update() have both been eliminated.
Chris Jones <christian.jones@sri.com>
parents:
152
diff
changeset
|
9 |
function. |
154 | 10 |
|
160 | 11 |
Get rid of logging. We're providing status updates. Include an error() |
12 |
receiver function that lets internals report their errors for return |
|
13 |
from NewClient(). |