Skip to content

Instantly share code, notes, and snippets.

@cscotta
cscotta / boundaryConv.txt
Created September 12, 2012 00:11 — forked from amastracci/boundaryConv.txt
Boundary Conversation API
sending request for data:
{
"filter": {
"hosted_by_meters_saved_search": "8ASDF9751HFASF98SS",
"transport": [
{
"port": 53723,
"protocol": 6
},
{
// all rollup state is held here
private /**
* this is an internal field. don't mess with it.
*/
final /**
* it is also final and cannot be reassigned.
*/
ConcurrentNavigableMap< /**
* the name of this class is ConcurrentNavigableMap
*/
for (var i = 0; i < 6; i++) {
var name = 'ep' + i + '_player';
document.getElementById('episode' + i).addEventListener('click', function(evt) {
showEpisode(name); evt.stopPropagation();
});
name = 'ep' + i + '_preview_player'
document.getElementById('episode' + i + '_preview').addEventListener('click', function(evt) {
showEpisode(name); evt.stopPropagation();
});