public class GatewayServices
extends java.lang.Object
Use GatewayServices.getGatewayServices()
to get an instance of
this class.
Modifier and Type | Method and Description |
---|---|
boolean |
addEvent(CFEvent msg)
Add an event to the ColdFusion event service processing queue for
delivery to a listener CFC.
|
static GatewayServices |
getGatewayServices()
Return A GatewayServices object.
|
coldfusion.eventgateway.Logger |
getLogger()
Get the default event logging object.
|
coldfusion.eventgateway.Logger |
getLogger(java.lang.String logfile)
Get a custom event logging object.
|
int |
getMaxQueueSize()
Return the maximum size of the gateway event queue.
|
int |
getQueueSize()
Return the current size of the gateway event queue.
|
public static GatewayServices getGatewayServices()
public boolean addEvent(CFEvent msg)
msg
- The CFEvent object containing the message to be queued for
delivery.public int getQueueSize()
getMaxQueueSize()
,
GatewayServices in Livedocspublic int getMaxQueueSize()
getQueueSize()
,
GatewayServices in Livedocspublic coldfusion.eventgateway.Logger getLogger()
getLogger(String)
,
Logger in Livedocs,
GatewayServices in Livedocspublic coldfusion.eventgateway.Logger getLogger(java.lang.String logfile)
logfile
- The base name of the log file, without an extension.getLogger()
,
GatewayServices in Livedocs