|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LineProcContext interface defines the interface that line processors use to talk to and control the bot core. It provides callback services for message forewarding, as well as utility services.
Method Summary | |
void |
bindConversation(String dialogID)
Forces all trafic to and from designated dialog to also be echoed to this LineProc. |
String[] |
getConversations()
Fetches a list of all active conversations. |
String |
getIdentity()
Returns the identity of the Dialog object. |
String |
getWarningLevel()
Fetches the warning level of the account to which this conversation is bound. |
String |
lastLoadedLineProc()
The path to the last loaded class. |
void |
loadNewLineProc(String libPath)
Loads a new line processor and transfers control to it. |
void |
sendIM(IM message)
Sends an IM. |
void |
sendWarning(String screenName,
boolean anonymous)
Sends a warning. |
void |
unbindConversation(String dialogID)
Halts all traffic to and from designated dialog. |
Method Detail |
public void sendIM(IM message)
message
- The IM to send.public void sendWarning(String screenName, boolean anonymous)
screenName
- The screen name to warn.anonymous
- If TRUE, warn anonymously.public String getWarningLevel()
public String getIdentity()
public String[] getConversations()
public void bindConversation(String dialogID)
dialogID
- Dialog ID to bind to in the format
CommPortBindName:ForeignScreenName.public void unbindConversation(String dialogID)
dialogID
- Dialog ID to unbind from in the format
CommPortBindName:ForeignScreenName.public void loadNewLineProc(String libPath)
public String lastLoadedLineProc()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |