public class UserLookupHandler extends SNACHandler
TODO: Add searchName
.
SNACHandler
Constructor and Description |
---|
UserLookupHandler()
Family 0x000a
|
Modifier and Type | Method and Description |
---|---|
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's.
|
void |
userSearchAddress(AIMSession sess,
AIMConnection conn,
String email)
Subtype 0x0002 - Search for a user by email address.
|
getFamily, getVersion, setFamily, setVersion
public void userSearchAddress(AIMSession sess, AIMConnection conn, String email) throws IOException
sess
- the oscar sessionconn
- the odir connection for this sessionemail
- the user's emailIOException
- if an error occurspublic void handleSNAC(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, AIMInputStream buffer) throws IOException
handleSNAC
in class SNACHandler
sess
- the oscar sessionhandler
- the handlerframe
- the incoming framesnac
- the incoming SNACbuffer
- the incoming bufferIOException
- if an error occurs