// Create and start a Pushlet client; we receive callbacks
// through onHeartbeat() and onData().
try {
PushletClient pushletClient = new PushletClient(aHost, aPort);
pushletClient.setDebug(false);
pushletClient.join();
pushletClient.listen(this, MODE, SUBJECT);
p("pushletClient started");
} catch (PushletException pe) {
p("Error in setting up pushlet session pe=" + pe);
}