GatewayServices class
coldfusion.eventgateway.GatewayServices
The Gateway class uses the coldfusion.eventgateway.GatewayServices
class to interact with the ColdFusion event gateway services. This
class has the following methods:
Signature
|
Description
|
GatewayServices getGatewayServices()
|
Static method that returns the GatewayServices
object.
|
boolean addEvent(CFEvent msg)
|
Sends a CFEvent instance
to ColdFusion for dispatching to a listener CFC.
|
coldfusion.eventgateway.LoggergetLogger([String logfile])
|
Returns a ColdFusion logger object that
the event gateway can use to log information in a file.
|
int getMaxQueueSize()
|
Returns the maximum size of the ColdFusion
event queue, as set in the ColdFusion Administrator.
|
int getMaxQueueSize()
|
Returns the current size of the ColdFusion
event queue that handles all messages for all gateways.
|