public void getBlackListedMessageFrequency() {
        //TODO - AJ <Done> getBlackListedMessageFrequency()
        UnityIMPServer server;
        ConnectionStub connectionStub = (ConnectionStub) objConnectionStub;
        server = (UnityIMPServer) connectionStub.getServer();
        msgcounter++;
        //ConnectionStub cs = (ConnectionStub) objConnectionStub;

        if (msgcounter > 30) //greater than 30
        {
            Date currentDate = new Date();
            long timeDifference = (currentDate.getTime() - baseMessageReceivedTime.getTime()) / 1000;
            if (timeDifference > 60) //normal case greater than 61
            {
                baseMessageReceivedTime = currentDate;
                msgcounter = 0;
            } else {    //Disconnection procedure & insert userId into blackList DB
                String loginId = ((ConnectionStub) (this.objConnectionStub)).getLoginIdOrServerName().toString();

                try {
                    server.executeQuery("call sp_insert_into_blacklist__LoginId('" + loginId + "')");
                } catch (SQLException ex) {
                    Logger.getLogger(ConnectedClient.class.getName()).log(Level.SEVERE, null, ex);
                }
                Logger.getLogger(ConnectedClient.class.getName()).log(Level.FINE, "\n\ndisconnect() called from getBlackListedMessageFrequency()");
                loginId = null;
                this.objConnectionStub.disconnect();
            }
            currentDate = null;
        }
        connectionStub = null;
        server = null;
//throw new UnsupportedOperationException("Not yet implemented checkIfBlackListed()");
    }