|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jml.impl.AbstractMessenger
net.sf.jml.impl.BasicMessenger
net.sf.jml.impl.SimpleMessenger
public class SimpleMessenger
Simple msn messenger.
| Method Summary | |
|---|---|
void |
addFriend(Email email,
String friendlyName)
Add friend to FL and AL. |
void |
addGroup(String groupName)
Add group. |
void |
blockFriend(Email email)
Block friend. |
void |
copyFriend(Email email,
String groupId)
Copy friend to other group, but user can't both in default group and user defined group. |
void |
moveFriend(Email email,
String srcGroupId,
String destGroupId)
Move friend from one group to other group. |
void |
newSwitchboard(Object attachment)
Create a switchboard and start. |
void |
removeFriend(Email email,
boolean block)
Remove friend. |
void |
removeFriend(Email email,
String groupId)
Remove friend from one group. |
void |
removeGroup(String groupId)
Remove group. |
void |
renameFriend(Email email,
String friendlyName)
Rename friend. |
void |
renameGroup(String groupId,
String newGroupName)
Rename group. |
void |
unblockFriend(Email email)
Unblock friend. |
| Methods inherited from class net.sf.jml.impl.BasicMessenger |
|---|
addSessionListener, getActiveSwitchboards, getConnection, getContactList, getIncomingMessageChain, getOutgoingMessageChain, getOwner, login, login, logout, newSwitchboard, removeSessionListener, send, sendText, setActualMsnProtocol, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void newSwitchboard(Object attachment)
MsnMessengerYou can use the attachement to identify the MsnSwitchboard by call switchboard.getAttachment().
attachment - MsnSwitchboard's attachmentpublic void addGroup(String groupName)
MsnMessenger
groupName - group namepublic void removeGroup(String groupId)
MsnMessenger
groupId - group id
public void renameGroup(String groupId,
String newGroupName)
MsnMessenger
groupId - group idnewGroupName - new group name
public void addFriend(Email email,
String friendlyName)
MsnMessenger
email - emailfriendlyName - friendly namepublic void blockFriend(Email email)
MsnMessenger
email - email
public void copyFriend(Email email,
String groupId)
MsnMessenger
email - emailgroupId - group id
public void moveFriend(Email email,
String srcGroupId,
String destGroupId)
MsnMessenger
email - emailsrcGroupId - source group iddestGroupId - dest group id
public void removeFriend(Email email,
boolean block)
MsnMessenger
email - emailblock - remove and block
public void removeFriend(Email email,
String groupId)
MsnMessenger
email - emailgroupId - group id
public void renameFriend(Email email,
String friendlyName)
MsnMessenger
email - emailfriendlyName - new friendly namepublic void unblockFriend(Email email)
MsnMessenger
email - email
|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||