public static void sendOnOffLineMsg(UserInfo user,boolean onLine){
		//ûĺѷͣҼߵϢ
		List<TeamInfo> teams=user.getTeams();
		for(TeamInfo team:teams){
			List<UserInfo> users= team.getBudyList();
			for(UserInfo destUser:users){
				//ûڱУ֤
				ServerThread otherST=stList.get(destUser);
				if(null!=otherST){
					MsgHead onLineMsg=new MsgHead();
					onLineMsg.setTotalLen(4+1+4+4);
					if(onLine){
					onLineMsg.setType(IMsgConstance.command_onLine);
					}else{//趨ΪϢ
					 onLineMsg.setType(IMsgConstance.command_offLine);
					}
					onLineMsg.setDest(destUser.getJkNum());
					onLineMsg.setSrc(user.getJkNum());
				    otherST.sendMsg2Me(onLineMsg);//Ϣ
				}
			}
		}
	}