|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.gateway.SocketGateway
public class SocketGateway
Field Summary |
---|
Fields inherited from interface org.opencfml.eventgateway.Gateway |
---|
FAILED, RUNNING, STARTING, STOPPED, STOPPING |
Constructor Summary | |
---|---|
SocketGateway()
|
Method Summary | |
---|---|
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(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 SocketGateway()
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
Gateway.init(org.opencfml.eventgateway.GatewayEngine, java.lang.String, java.lang.String, java.util.Map)
public void doStart()
Gateway
doStart
in interface Gateway
public void doStop()
Gateway
doStop
in interface Gateway
public String sendMessage(Map _data)
Gateway
sendMessage
in interface Gateway
public void doRestart()
Gateway
doRestart
in interface Gateway
Gateway.doRestart()
public String getId()
Gateway
getId
in interface Gateway
Gateway.getId()
public int getState()
Gateway
getState
in interface Gateway
Gateway.getState()
public Object getHelper()
Gateway
getHelper
in interface Gateway
Gateway.getHelper()
public void info(String msg)
public void error(String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |