Commit graph

44 commits

Author SHA1 Message Date
Stephen Birarda
7fb73fc040 remove one of birarda's infamous Gs 2013-09-11 14:52:18 -07:00
Stephen Birarda
129c120989 fix deque include for assignment-server 2013-09-11 14:49:16 -07:00
Stephen Birarda
e73ef6204d add newlines to assignment-server logging so it doesn't clog up 2013-09-11 12:37:14 -07:00
Stephen Birarda
fe3b4a6654 use the verbose message handler in the assignment-server 2013-09-11 12:29:50 -07:00
Stephen Birarda
3149431e16 remove notion of pool from assignment-server 2013-09-11 12:23:15 -07:00
Stephen Birarda
fa521a5dc9 handle case where AC is on same network as DS but not AS 2013-09-09 18:15:33 -07:00
Stephen Birarda
e53807ca82 store an attached local and public socket with assignment 2013-09-09 17:29:33 -07:00
Stephen Birarda
97803b827e pack destination socket for assignment as tightly as possible 2013-09-09 16:45:44 -07:00
Stephen Birarda
d8611e408e clear stale assignments from queue, fix CPU usage in client 2013-09-06 10:59:20 -07:00
Stephen Birarda
dbc6fff73b fix removal of assignment from queue to not remove all 2013-09-06 10:28:45 -07:00
Stephen Birarda
f7b0158cfe use deque of pointers, make sure DS silent count is refreshed 2013-09-06 10:26:29 -07:00
Stephen Birarda
bb6185ca36 add some queue size debugging to assignment-server 2013-09-05 17:35:55 -07:00
Stephen Birarda
d498d97da7 maintain a double ended queue of created assignments 2013-09-05 16:38:48 -07:00
Stephen Birarda
2846d170f7 change default NodeList port to 0 for ephemeral 2013-09-04 16:16:03 -07:00
Stephen Birarda
77dcebd51f correct pool comparison for assignment distribution 2013-09-04 15:32:01 -07:00
Stephen Birarda
2c32a1a048 correct handling of IPv6, fix offsets for packet reading 2013-09-04 15:21:20 -07:00
Stephen Birarda
a7f7dbcb31 confirm assignment pool match before deploying assignment 2013-09-04 13:19:49 -07:00
Stephen Birarda
fa7f183930 add a domain socket to assignments 2013-09-04 13:00:23 -07:00
Stephen Birarda
36c2f42b5c correct copying of assignment pool across targets 2013-09-04 11:50:39 -07:00
Stephen Birarda
ebc7de3a90 add methods for packing and unpacking of Assignments 2013-09-04 11:37:11 -07:00
Stephen Birarda
29e5eda358 add notion of pool and direction to Assignment class 2013-09-04 10:43:16 -07:00
Stephen Birarda
f485814a42 keep more than one assignment in the queue 2013-09-04 10:14:53 -07:00
Stephen Birarda
97bee1eb82 add a stubbed assignment client to request assignments 2013-08-22 12:30:11 -07:00
Stephen Birarda
ef7e7ae4c5 store senderSocket with assignment to be passed to requestor 2013-08-22 12:08:49 -07:00
Stephen Birarda
2804d286d5 send correctly sized packet for assignment 2013-08-22 11:52:59 -07:00
Stephen Birarda
f52c1c909b send assignment from domain server for audio mixer if it isn't present 2013-08-22 11:38:57 -07:00
Stephen Birarda
f3e4196a81 add an assignment class and begin to hookup AS 2013-08-22 11:21:55 -07:00
Stephen Birarda
a661d9f2f4 repair header byte calculations in assignment server 2013-08-08 15:19:48 -07:00
Stephen Birarda
f60cbed709 fix packet size of assignment packet 2013-08-08 12:09:59 -07:00
Stephen Birarda
287bead0b7 add extra debugging to assignment server 2013-08-08 11:22:02 -07:00
Stephen Birarda
a6cf3be4c4 only keep one assignment in assignment-server for demo 2013-08-07 15:52:04 -07:00
Stephen Birarda
51f978196b add back node type unassigned, fix sending of script URL 2013-08-05 17:21:06 -07:00
Stephen Birarda
1c32cd8a68 accept a script filename in the send assignment packet 2013-08-05 16:16:22 -07:00
Stephen Birarda
bba8cf86cc correct reference to ASSIGNMENT_SERVER_PORT 2013-08-05 10:52:53 -07:00
Stephen Birarda
45d84add05 cleanup from code review comments 2013-08-05 10:37:23 -07:00
Stephen Birarda
72f76ee0b8 cleanup assignment server to prepare for stub pull 2013-08-05 10:00:00 -07:00
Stephen Birarda
7134d13001 tweaks for iOS compatibility 2013-07-24 12:34:32 -07:00
Stephen Birarda
cc6bcf1653 repair use of setup_hifi_project from assignment server 2013-07-22 14:09:10 -07:00
Stephen Birarda
855bcb3753 revamp assignment server to accept requests from webpage 2013-07-15 11:47:54 -07:00
Stephen Birarda
33b6ca31b0 sent correct position for injected audio, first bird index is 1 2013-07-12 15:10:22 -07:00
Stephen Birarda
0873be94d4 the first bird index is 1, not 0 2013-07-12 14:57:36 -07:00
Stephen Birarda
e1d7f752f2 send a different bird index to each subsequent assignee 2013-07-12 14:47:25 -07:00
Stephen Birarda
8fb90602ba send back rand int from 1 to 6 to specify raw file to grab 2013-07-12 10:33:38 -07:00
Stephen Birarda
b9c1525321 add the base of the assignment-server 2013-07-01 14:05:14 -07:00