@Override
    public void ccowPending(CCOWContextManager sender, ContextItems contextItems) {
        ccowTransaction = true;
        updateCCOWStatus();
        setMarshaledContext(contextItems, false, response -> {
            if (response.rejected()) {
                sender.setSurveyResponse(response.toString());
            }

            ccowTransaction = false;
            updateCCOWStatus();
        });
    }
@ Override public void ccowPending ( CCOWContextManager sender , ContextItems contextItems ) { ccowTransaction = true ; updateCCOWStatus ( ) ; setMarshaledContext ( contextItems , false , response -> { if ( response . rejected ( ) ) { sender . setSurveyResponse ( response . toString ( ) ) ; } ccowTransaction = false ; updateCCOWStatus ( ) ; } ) ; }
Callback to handle a polling request from the CCOW context manager.