ColdFusion 9.0 Resources |
setStatusSee alsogetCustomAwayMessage, getStatusAsString, getStatusTimeStamp, isOnline, Using the GatewayHelper object in the Developing ColdFusion Applications Parameters
ReturnsTrue, if the operation was successful; False. otherwise. Passing an invalid status for the protocol causes this method to return False. UsageDo not use the setStatus method to go offline. Although the method accepts a parameter of OFFLINE, the gateway immediately resets itself to be online. To set the gateway offline, stop the gateway instance in the ColdFusion Administrator, or use the stopGatewayInstance method in the CFIDE.adminapi.eventgateway CFC. ExampleSee GatewayHelper example, in the Developing ColdFusion Applications, which uses all GatewayHelper class methods. |