|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.walluck.oscar.tools.Tool
org.walluck.oscar.tools.ChatTool
public class ChatTool
Chat tool.
| Field Summary |
|---|
| Fields inherited from class org.walluck.oscar.tools.Tool |
|---|
listeners |
| Constructor Summary | |
|---|---|
ChatTool()
Creates a new Chat tool. |
|
| Method Summary | |
|---|---|
void |
bosConnectionAvailable()
Method called by the LoginTool once the BOS connection is available. |
void |
evilNotify(AIMSession sess,
AIMFrame frame,
int newEvil,
UserInfo userinfo)
Describe evilNotify method here. |
void |
incomingChatMsg(AIMSession sess,
AIMFrame frame,
UserInfo userinfo,
String msg)
Describe incomingChatMsg method here. |
void |
infoUpdate(AIMSession sess,
AIMFrame frame,
Chat roominfo,
String roomName,
int userCount,
ArrayList occupants,
String roomdesc,
int flags,
int creationTime,
int maxmsglen,
int maxOccupancy,
int creationPerms,
int maxvisiblemsglen)
Describe infoUpdate method here. |
void |
joinRoom(JoinRoomRequest jrr)
If someone invited the user to join a chat room, the client needs to call this method with the provided JoinRoomRequest instance to make the join happen. |
void |
memRequest(AIMSession sess,
AIMFrame frame,
int offset,
int len,
String modname)
Describe memRequest method here. |
void |
migrate(AIMSession sess,
AIMFrame frame,
String ip,
byte[] cookie)
Describe migrate method here. |
void |
motd(AIMSession sess,
AIMFrame frame,
int id,
String msg)
Describe motd method here. |
void |
rateChange(AIMSession sess,
AIMFrame frame,
int code,
RateClass rc)
Describe rateChange method here. |
void |
rateResp(AIMSession sess,
AIMFrame frame)
Describe rateResp method here. |
void |
redirect(AIMSession sess,
AIMFrame frame,
Redir redir)
Describe redirect method here. |
void |
selfInfo(AIMSession sess,
AIMFrame frame,
UserInfo userinfo)
Describe selfInfo method here. |
void |
serverPause(AIMSession sess,
AIMFrame frame)
Describe serverPause method here. |
void |
serverResume(AIMSession sess,
AIMFrame frame)
Describe serverResume method here. |
void |
shutdown(AIMSession sess)
Called when the tool is shutting down. |
void |
userlistChange(AIMSession sess,
AIMFrame frame,
int curcount,
ArrayList userinfo)
Describe userlistChange method here. |
| Methods inherited from class org.walluck.oscar.tools.Tool |
|---|
getFamily, getId, getSession, getToolData, getVersion, setFamily, setId, setSession, setToolData, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatTool()
| Method Detail |
|---|
public void joinRoom(JoinRoomRequest jrr)
jrr -
public void infoUpdate(AIMSession sess,
AIMFrame frame,
Chat roominfo,
String roomName,
int userCount,
ArrayList occupants,
String roomdesc,
int flags,
int creationTime,
int maxmsglen,
int maxOccupancy,
int creationPerms,
int maxvisiblemsglen)
infoUpdate method here.
infoUpdate in interface ChatListenersess - an AIMSession valueframe - an AIMFrame valueroominfo - a Chat valueroomName - a String valueuserCount - an int valueoccupants - a ArrayList valueroomdesc - a String valueflags - an int valuecreationTime - an int valuemaxmsglen - an int valuemaxOccupancy - an int valuecreationPerms - an int valuemaxvisiblemsglen - an int value
public void userlistChange(AIMSession sess,
AIMFrame frame,
int curcount,
ArrayList userinfo)
userlistChange method here.
userlistChange in interface ChatListenersess - an AIMSession valueframe - an AIMFrame valuecurcount - an int valueuserinfo - a ArrayList value
public void incomingChatMsg(AIMSession sess,
AIMFrame frame,
UserInfo userinfo,
String msg)
incomingChatMsg method here.
incomingChatMsg in interface ChatListenersess - an AIMSession valueframe - an AIMFrame valueuserinfo - an UserInfo valuemsg - a String value
public void rateResp(AIMSession sess,
AIMFrame frame)
rateResp method here.
rateResp in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame value
public void redirect(AIMSession sess,
AIMFrame frame,
Redir redir)
redirect method here.
redirect in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valueredir - a Redir value
public void rateChange(AIMSession sess,
AIMFrame frame,
int code,
RateClass rc)
ServiceListenerrateChange method here.
rateChange in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valuecode - an int valuerc - a RateClass value
public void serverPause(AIMSession sess,
AIMFrame frame)
ServiceListenerserverPause method here.
serverPause in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame value
public void serverResume(AIMSession sess,
AIMFrame frame)
ServiceListenerserverResume method here.
serverResume in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame value
public void selfInfo(AIMSession sess,
AIMFrame frame,
UserInfo userinfo)
ServiceListenerselfInfo method here.
selfInfo in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valueuserinfo - an UserInfo value
public void evilNotify(AIMSession sess,
AIMFrame frame,
int newEvil,
UserInfo userinfo)
ServiceListenerevilNotify method here.
evilNotify in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valuenewEvil - an int valueuserinfo - an UserInfo value
public void migrate(AIMSession sess,
AIMFrame frame,
String ip,
byte[] cookie)
ServiceListenermigrate method here.
migrate in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valueip - a String valuecookie - a byte[] value
public void motd(AIMSession sess,
AIMFrame frame,
int id,
String msg)
ServiceListenermotd method here.
motd in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valueid - an int valuemsg - a String value
public void memRequest(AIMSession sess,
AIMFrame frame,
int offset,
int len,
String modname)
ServiceListenermemRequest method here.
memRequest in interface ServiceListenersess - an AIMSession valueframe - an AIMFrame valueoffset - an int valuelen - an int valuemodname - a String valuepublic void shutdown(AIMSession sess)
shutdown in class Toolsess - the oscar sessionpublic void bosConnectionAvailable()
bosConnectionAvailable in class Tool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||