public class SocketGateway extends Object implements GatewayPro
Constructor and Description |
---|
SocketGateway() |
Modifier and Type | Method and Description |
---|---|
void |
doRestart()
restart the gateway
|
void |
doStart()
starts the gateway
|
void |
doStop()
stop the gateway
|
void |
error(String msg) |
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 |
info(String msg) |
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
|
public SocketGateway()
public void init(GatewayEnginePro engine, String id, String cfcPath, Map config) throws GatewayException
GatewayPro
init
in interface GatewayPro
engine
- the gateway engineid
- the id of the gatewaycfcPath
- the path to the listener componentconfig
- the configuration as mapGatewayException
public void doStart()
GatewayPro
doStart
in interface GatewayPro
public void doStop()
GatewayPro
doStop
in interface GatewayPro
public String sendMessage(Map _data)
GatewayPro
sendMessage
in interface GatewayPro
public void doRestart()
GatewayPro
doRestart
in interface GatewayPro
public String getId()
GatewayPro
getId
in interface GatewayPro
public int getState()
GatewayPro
getState
in interface GatewayPro
public Object getHelper()
GatewayPro
getHelper
in interface GatewayPro
Copyright © 2015 Lucee