|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ConversationMBean interface represents a conversation in which a c-enabler participates.
Method Summary | |
MessageMBean[] |
getAllMessages()
Gets MessageMBeans for all of the outstanding business messages sent in this conversation. |
java.lang.String |
getConversationId()
Gets the conversation ID of this conversation. |
java.util.Date |
getLastMessagePublishedTime()
Gets the time when the last business message was sent by the c-enabler in this conversation. |
java.util.Date |
getLastMessageReceivedTime()
Gets the time when the last business message was received by the c-enabler in this conversation. |
int |
getNumMsgsPublished()
Gets the number of business messages published by the c-enabler in this conversation. |
int |
getNumMsgsReceived()
Gets the number of business messages received by the c-enabler in this conversation. |
int |
getState()
Gets the current state of this conversation. |
ConversationType |
getType()
Gets the name of the conversation definition associated with this conversation. |
boolean |
isInitiated()
Indicates whether this conversation was initiated by this c-enabler (true) or not (false). |
void |
leave(boolean temporary)
Leaves this conversation. |
void |
terminate(int result)
Terminates this conversation. |
Method Detail |
public java.lang.String getConversationId()
public int getNumMsgsPublished()
public int getNumMsgsReceived()
public int getState()
public ConversationType getType()
public java.util.Date getLastMessagePublishedTime()
public java.util.Date getLastMessageReceivedTime()
public boolean isInitiated()
public void leave(boolean temporary) throws ManagementException
temporary
- - If true, stores messages on the c-hub until rejoining.
- If false (the default), discards messages until rejoining.public void terminate(int result) throws ManagementException
result
- Conversation termination result.public MessageMBean[] getAllMessages() throws ManagementException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |