|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.dexterim.core.AbstractConversation net.sf.dexterim.msn.MsnConversation
Constructor Summary | |
MsnConversation(MsnConnection connection)
Creates a new instance of MsnConversation |
Method Summary | |
void |
answer(SwitchBoardServer server,
java.lang.String conversationID)
|
void |
bind(SwitchBoardServer server)
Binds Conversation to a specified SwitchboardServer. |
void |
close()
Ends the Conversation and frees unused Resources |
protected int |
computeMessageLength(java.lang.String message)
Description of the Method |
protected void |
connectionEstablished()
|
protected void |
initIO(SwitchBoardServer server)
|
void |
inviteContact(Contact contact)
Sends a Message of the form CAL 2 name_123@hotmail.com to
invite User name_123@hotmail.com to a chat session |
void |
join(Contact contact)
Add contact to the conversation. |
void |
messageReceived(MessageEvent event)
|
void |
open()
Connects the Conversation object to the messenger network |
void |
sendMessage(java.lang.String message)
Sends a Message in encoded in a String over the implements network. |
void |
sendTextMessage(java.lang.String message)
|
void |
signIn(SwitchBoardServer server)
Sends a Message of the form USR 1 example@passport.com
16925950.1016955577.17693 to sign in as creater to the new
SwitchBoard |
protected void |
signInReceived()
|
protected void |
stopIO()
|
Methods inherited from class net.sf.dexterim.core.AbstractConversation |
addConversationListener, fireMessageReceived, removeConversationListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MsnConversation(MsnConnection connection)
Method Detail |
public void close()
Conversation
close
in interface Conversation
public void join(Contact contact)
Conversation
join
in interface Conversation
contact
- The Contact object that should join the Conversationpublic void open()
Conversation
open
in interface Conversation
public void sendMessage(java.lang.String message)
Conversation
sendMessage
in interface Conversation
protected void connectionEstablished()
public void sendTextMessage(java.lang.String message)
protected int computeMessageLength(java.lang.String message)
message
- Description of the Parameter
public void bind(SwitchBoardServer server)
public void answer(SwitchBoardServer server, java.lang.String conversationID)
protected void signInReceived()
public void signIn(SwitchBoardServer server)
USR 1 example@passport.com
16925950.1016955577.17693
to sign in as creater to the new
SwitchBoard
public void inviteContact(Contact contact)
CAL 2 name_123@hotmail.com
to
invite User name_123@hotmail.com to a chat session
protected void initIO(SwitchBoardServer server) throws java.io.IOException
java.io.IOException
protected void stopIO() throws java.io.IOException
java.io.IOException
public void messageReceived(MessageEvent event)
messageReceived
in interface MessageListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |