/SampleApplication/ColdBox3/remote/MyProxy.cfc

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin · ColdFusion CFScript · 27 lines · 21 code · 6 blank · 0 comment · 1 complexity · e4ec955d8af40561ef0bd527e8e527aa MD5 · raw file

  1. <!-----------------------------------------------------------------------
  2. ********************************************************************************
  3. Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
  4. www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com
  5. ********************************************************************************
  6. Author : Luis Majano
  7. Date : 10/16/2007
  8. Description :
  9. This proxy is an inherited coldbox remote proxy used for enabling
  10. coldbox as a model framework.
  11. ----------------------------------------------------------------------->
  12. <cfcomponent name="MyProxy" output="false" extends="coldbox.system.remote.ColdboxProxy">
  13. <cffunction name="yourRemoteCall" output="false" access="remote" returntype="YourType" hint="Your Hint">
  14. <cfset var results = "">
  15. <!--- Set the event to execute --->
  16. <cfset arguments.event = "">
  17. <!--- Call to process a coldbox event cycle, always check the results as they might not exist. --->
  18. <cfset results = super.process(argumentCollection=arguments)>
  19. <cfreturn results>
  20. </cffunction>
  21. </cfcomponent>