These determine behaviour in C/S interaction
EventSourcesDispatcherTwo libraries available
<html>
<head>
<script type="text/javascript" src="../../lib/js-pushlet-client.js"></script>
<script type="text/javascript">
function init() {
p_join_listen('/stocks/aex');
}
function onData(pushletEvent) {
var stock = pushletEvent.get('name');
var rate = pushletEvent.get('rate');
}
</script>
</head>
<body onLoad="init()">
<script type="text/javascript">p_embed()</script>
.
. (HTML elements to present rates)
</body>
</html>
Several available
SessionManager (e.g. for authorization)DispatcherEventSources