|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Gateway
Field Summary | |
---|---|
static int |
FAILED
|
static int |
RUNNING
|
static int |
STARTING
|
static int |
STOPPED
|
static int |
STOPPING
|
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 |
Field Detail |
---|
static final int STARTING
static final int RUNNING
static final int STOPPING
static final int STOPPED
static final int FAILED
Method Detail |
---|
void init(GatewayEngine engine, String id, String cfcPath, Map config) throws GatewayException
engine
- the gateway engineid
- the id of the gatewaycfcPath
- the path to the listener componentconfig
- the configuration as map
GatewayException
String getId()
String sendMessage(Map data) throws GatewayException
data
-
GatewayException
Object getHelper()
void doStart() throws GatewayException
GatewayException
void doStop() throws GatewayException
GatewayException
void doRestart() throws GatewayException
GatewayException
int getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |