|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelService
| Field Summary | |
|---|---|
static int |
ACTIVE
The ACTIVE state is when the channel is attempting to start but is not yet started. |
static int |
ALIVE
The ALIVE state is when the channel has been told to start and is trying to connect. |
static int |
CONNECTED
The CONNECTED state is when the channel has successfully made the connection and is ready to send and receive messages. |
static int |
CREATED
The CREATED state is when the channel has been created or stopped. |
static int |
DEAD
The DEAD state is when the channel has exited and can not be restarted. |
static int |
STARTED
The STARTED state is when the channel has started and should be processing messages. |
| Method Summary | |
|---|---|
void |
close()
Close. |
void |
exit()
Exit. |
java.util.Map |
getChannelData()
Gets the channel data (Map) value. |
java.lang.String |
getExternalId()
Gets the external ID (String) value. |
java.lang.String |
getId()
Gets the ID (String) value. |
int |
getState()
Gets the state (int) value. |
boolean |
isReconnectable()
Gets the reconnectable (boolean) value. |
void |
open()
Sets the id value. |
void |
setExternalId(java.lang.String externalId)
Sets the external ID value. |
void |
setState(int newState)
Sets the state value. |
void |
start()
Start. |
void |
stop()
Stop. |
| Field Detail |
|---|
static final int DEAD
static final int CREATED
static final int ALIVE
static final int CONNECTED
static final int ACTIVE
static final int STARTED
| Method Detail |
|---|
void close()
void exit()
java.util.Map getChannelData()
Map) value.java.lang.String getExternalId()
String) value.setExternalId(String)java.lang.String getId()
Object) value.getExternalId(),
setExternalId(String)int getState()
int) value.setState(int)boolean isReconnectable()
boolean) value.void open()
void setExternalId(java.lang.String externalId)
externalId - The external ID (String) parameter.getExternalId()void setState(int newState)
newState - The new state (int) parameter.getState()void start()
void stop()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||