public void addMsgWaiting(MwiType type,int count,MwiProfile profile,boolean storeMessage){
  if (count > 255) {
    count=255;
  }
  messages_.add(new MsgWaiting(type,count,profile,storeMessage));
}

public void addMsgWaiting ( MwiType type , int count , MwiProfile profile , boolean storeMessage ) { if ( count > 255 ) { count = 255 ; } messages_ . add ( new MsgWaiting ( type , count , profile , storeMessage ) ) ; }
adds a message waiting .
