|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.gateway.CFCGateway
public class CFCGateway
Field Summary |
---|
Fields inherited from interface org.opencfml.eventgateway.Gateway |
---|
FAILED, RUNNING, STARTING, STOPPED, STOPPING |
Constructor Summary | |
---|---|
CFCGateway(String cfcPath)
|
Method Summary | |
---|---|
void |
doRestart()
restart the gateway |
void |
doStart()
starts the gateway |
void |
doStop()
stop the gateway |
Object |
getHelper()
return helper object |
String |
getId()
returns the id of the gateway |
int |
getState()
returns a string that is used by the event gateway administrator to display status |
void |
init(GatewayEngine engine,
String id,
String cfcPath,
Map config)
method to initialize the gateway |
String |
sendMessage(Map data)
sends a message based on given data |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFCGateway(String cfcPath)
Method Detail |
---|
public void init(GatewayEngine engine, String id, String cfcPath, Map config) throws GatewayException
Gateway
init
in interface Gateway
engine
- the gateway engineid
- the id of the gatewaycfcPath
- the path to the listener componentconfig
- the configuration as map
GatewayException
org.opencfml.eventgateway.Gateway#init(java.lang.String, java.lang.String, railo.runtime.type.Struct)
public void doRestart() throws GatewayException
Gateway
doRestart
in interface Gateway
GatewayException
Gateway.doRestart()
public void doStart() throws GatewayException
Gateway
doStart
in interface Gateway
GatewayException
Gateway.doStart()
public void doStop() throws GatewayException
Gateway
doStop
in interface Gateway
GatewayException
Gateway.doStop()
public Object getHelper()
Gateway
getHelper
in interface Gateway
Gateway.getHelper()
public String getId()
Gateway
getId
in interface Gateway
Gateway.getId()
public int getState()
Gateway
getState
in interface Gateway
Gateway.getState()
public String sendMessage(Map data) throws GatewayException
Gateway
sendMessage
in interface Gateway
GatewayException
org.opencfml.eventgateway.Gateway#sendMessage(railo.runtime.type.Struct)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |