public synchronized RoomClient addClientListItem(String streamId, String scopeName,
Integer remotePort, String remoteAddress, String swfUrl){
try {
//Store the Connection into a bean and add it to the HashMap
RoomClient rcm = new RoomClient();
rcm.setConnectedSince(new Date());
rcm.setStreamid(streamId);
rcm.setScope(scopeName);
long thistime = new Date().getTime();
rcm.setPublicSID(ManageCryptStyle.getInstance().getInstanceOfCrypt().createPassPhrase(
String.valueOf(thistime).toString()));
rcm.setUserport(remotePort);
rcm.setUserip(remoteAddress);
rcm.setSwfurl(swfUrl);
rcm.setIsMod(new Boolean(false));
rcm.setCanDraw(new Boolean(false));
if (clientList.containsKey(streamId)){
log.error("Tried to add an existing Client "+streamId);
return null;
}
clientList.put(rcm.getStreamid(),rcm);
//log.error(" :: addClientListItem :: "+clientList.size());
return rcm;
} catch (Exception err) {