|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.walluck.oscar.handlers.SNACHandler
org.walluck.oscar.handlers.ODirHandler
public class ODirHandler
Family 0x000f - Newer Search Method.
Used for searching for other AIM users by email address, name, location, commmon interests, and a few other similar things.
SNACHandler| Constructor Summary | |
|---|---|
ODirHandler()
Family 0x000f. |
|
| Method Summary | |
|---|---|
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's. |
void |
reqInterests(AIMSession sess)
Subtype 0x0004 - Request list of interests. |
void |
searchDirectoryInfo(AIMSession sess,
String region,
ODirInfo info)
Subtype 0x0002 - Submit a User Search Request. |
void |
searchEmail(AIMSession sess,
String region,
String email)
Subtype 0x0002 - Submit a User Search Request. |
void |
searchInterests(AIMSession sess,
String region,
ArrayList interests)
Subtype 0x0002 - Submit a User Search Request. |
| Methods inherited from class org.walluck.oscar.handlers.SNACHandler |
|---|
getFamily, getVersion, setFamily, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ODirHandler()
| Method Detail |
|---|
public void searchEmail(AIMSession sess,
String region,
String email)
throws IOException
Search for an AIM screen name based on their email address.
sess - the oscar sessionregion - should be "us-ascii" unless you know what you're
doingemail - the email address you want to search for
IOException - if an error occurs
public void searchDirectoryInfo(AIMSession sess,
String region,
ODirInfo info)
throws IOException
Search for an AIM screen name based on various info about the person.
sess - the oscar sessionregion - should be "us-ascii" unless you know what you're
doinginfo - directory info
IOException - if an error occurs
public void searchInterests(AIMSession sess,
String region,
ArrayList interests)
throws IOException
Search for a user by interests (5 max, but that may be a soft (client) limit.
sess - the oscar sessionregion - should be "us-ascii" unless you know what you're
doinginterests - the interests
IOException - if an error occurs
public void reqInterests(AIMSession sess)
throws IOException
sess - the oscar session
IOException - if an error occurs
public void handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
throws IOException
handleSNAC in class SNACHandlersess - the oscar sessionhandler - the handlerframe - the incoming framesnac - the incoming SNACbuffer - the incoming buffer
IOException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||