Page 1 of 1

User Defined Filters in RCF 2.0.XXXX

Posted: Tue Mar 11, 2014 1:58 pm
by miguelluis
We are upgrading from RCF 1.3 to RCF 2.0.XXXX. We were using a user defined filter, but it appears that the RcfServer::addService() call is now private and there is no public access to RcfServer::FilterServicePtr. I don't see anything in the documentation about user defined filters, so has this functionality been removed? Our main interest is for backward compatibility with existing code. Please let me know if the method for installing a user defined filter has changed or if it is no longer possible to use one.

Thanks.

Re: User Defined Filters in RCF 2.0.XXXX

Posted: Fri Mar 28, 2014 10:18 am
by jarl
Hi Miguel,

User defined filters are deprecated (mainly because we were not aware of anyone using them) - however the intent is still to support them. You'll need to add this function to RcfServer:

Code: Select all

		
		FilterServicePtr getFilterServicePtr() {
			return mFilterServicePtr;
		}
, in order to get access to the predefined FilterService that is part of each RcfServer. Once you have access to the FilterService, you should be able to use it in the same way as with older RCF versions.