a disconnection action has been successfully completed , update the connection object associated with the client this action belongs to and then notify the user of success . concode_field_sep Context context concode_elem_sep Action action concode_elem_sep String clientHandle concode_elem_sep String[] additionalArgs concode_field_sep void subscribe concode_elem_sep void subscribe concode_elem_sep void publish concode_elem_sep void publish concode_elem_sep void onFailure concode_elem_sep void connect concode_elem_sep void connect concode_elem_sep void onSuccess
void function ( ) { Connection loc0 = Connections . getInstance ( ) . getConnection ( clientHandle ) ; loc0 . changeConnectionStatus ( ConnectionStatus . DISCONNECTED ) ; String loc1 = context . getString ( R . string . toast_disconnected ) ; loc0 . addAction ( loc1 ) ; }