|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.gateway.proxy.GatewayProxy
public class GatewayProxy
Field Summary |
---|
Fields inherited from interface railo.runtime.gateway.GatewayPro |
---|
FAILED, RUNNING, STARTING, STOPPED, STOPPING |
Constructor Summary | |
---|---|
GatewayProxy(Gateway gateway)
|
|
GatewayProxy(Object obj)
|
Method Summary | |
---|---|
void |
doRestart()
restart the gateway |
void |
doStart()
starts the gateway |
void |
doStop()
stop the gateway |
Gateway |
getGateway()
|
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(GatewayEnginePro 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 GatewayProxy(Object obj)
public GatewayProxy(Gateway gateway)
Method Detail |
---|
public void init(GatewayEnginePro engine, String id, String cfcPath, Map config) throws IOException
GatewayPro
init
in interface GatewayPro
engine
- the gateway engineid
- the id of the gatewaycfcPath
- the path to the listener componentconfig
- the configuration as map
IOException
public String getId()
GatewayPro
getId
in interface GatewayPro
public String sendMessage(Map data) throws IOException
GatewayPro
sendMessage
in interface GatewayPro
IOException
public Object getHelper()
GatewayPro
getHelper
in interface GatewayPro
public void doStart() throws IOException
GatewayPro
doStart
in interface GatewayPro
GatewayException
IOException
public void doStop() throws IOException
GatewayPro
doStop
in interface GatewayPro
GatewayException
IOException
public void doRestart() throws IOException
GatewayPro
doRestart
in interface GatewayPro
GatewayException
IOException
public int getState()
GatewayPro
getState
in interface GatewayPro
public Gateway getGateway()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |