Mone, Thanks a lot!!!
This is exactly I was looking for

Please find the attached snippet and let me know if I have properly understood the api
var lsPage = new PushPage();
var e;
lsPage.context.setDebugAlertsOnClientError(false);
lsPage.context.setRemoteAlertsOnClientError(false) ;
lsPage.context.setDomain(domain);

lsPage.onEngineReady = function(engineRef) {
dojo.debug("Lightstreamer onEngineReady" ) ;
e = engineRef ;
engineRef.context.setDebugAlertsOnClientError(fals e);
engineRef.context.setRemoteAlertsOnClientError(fal se);
engineRef.connection.setUserName("cookie");
engineRef.connection.setPassword("password");
engineRef.connection.setLSHost(host);
engineRef.connection.setLSPort(port);
engineRef.connection.setAdapterName("XYZ");
engineRef.changeStatus("STREAMING");

e.onClientAlert = function ( code, message ) {
dojo.debug("WOW!!!! LightstreamerEngine onClientAlert code[" + code +"] message[" + message + "]" ) ;
}
e.onClientError = function ( message ) {
dojo.debug("WOW!!!! LightstreamerEngine onClientError message[" + message + "]" ) ;
}
e.onServerError = function ( code, message ) {
dojo.debug("WOW!!!! LightstreamerEngine onServerError code[" + code +"] message[" + message + "]" ) ;
}
e.onStatusChange = function ( chngStatus ) {
dojo.debug("WOW!!!! LightstreamerEngine onStatusChange status[" + chngStatus + "]" ) ;
}
}

lsPage.onEngineLost = function() { e = null; }

lsPage.onClientAlert = function ( code, message ) {
dojo.debug("WOW!!!! PushPage onClientAlert code[" + code +"] message[" + message + "]" ) ;
}
lsPage.onClientError = function ( message ) {
dojo.debug("WOW!!!! PushPage onClientError message[" + message + "]" ) ;
}
lsPage.onServerDeny = function ( message ) {
dojo.debug("WOW!!!! PushPage onServerDeny message[" + message + "]" ) ;
}
lsPage.bind();
lsPage.loadEngineMinimal("../struts/lightstreamer-client/lsengine.html");

Thanks,
Rakesh