|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LineProcContextCallback class is used by LineProc classes to pass off requests to the proper authority.
Method Summary | |
boolean |
bindConversation(String dialogID)
Forces all trafic to and from designated dialog to also be echoed to this LineProc. |
Set |
getComPortBindIDs()
Returns a set of Strings containing the bind IDs of all comports. |
Set |
getConversations()
Fetches a list of all active conversations. |
String |
getIdentity()
Returns the identity of the Dialog object. |
Set |
getLineProcBindIDs()
Returns a set of Strings containing the bind IDs of all line procs. |
String |
getLineProcLibPath(String lineProcBindID)
Returns the lib path of the desired line proc based on bind ID. |
String |
getWarningLevel()
Fetches the warning level of the account to which this conversation is bound. |
void |
initiateConversation(String commPortBindID,
String remoteScreenName,
String salutation)
Initates a conversation with a remote screen name. |
void |
interject(String dialogID,
String interjection)
Sends an interjection into another Dialog's conversation flow. |
boolean |
loadNewLineProcOnPeer(String dialogID,
String lineProcBindID)
Loads a new line processor for a peer Dialog and transfers control to it. |
void |
sendIM(IM message)
Sends an IM. |
void |
sendWarning(String screenName,
boolean anonymous)
Sends a warning. |
boolean |
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 Set getConversations()
public boolean bindConversation(String dialogID)
dialogID
- Dialog ID to bind to in the format
CommPortBindName~ForeignScreenName.public boolean unbindConversation(String dialogID)
dialogID
- Dialog ID to unbind from in the format
CommPortBindName~ForeignScreenName.public Set getComPortBindIDs()
public Set getLineProcBindIDs()
public String getLineProcLibPath(String lineProcBindID)
lineProcBindID
- The bind ID to look up.
public void initiateConversation(String commPortBindID, String remoteScreenName, String salutation)
commPortBindID
- The commPort to use for the dialog.remoteScreenName
- The screen name to initiate a conversation with.salutation
- The salutation to send them.public void interject(String dialogID, String interjection)
dialogID
- The name of the dialog to interject into.interjection
- The text to interject with.public boolean loadNewLineProcOnPeer(String dialogID, String lineProcBindID)
dialogID
- The peer to manipulate.lineProcBindID
- The line proc to load.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |