public class TranslateHandler extends SNACHandler
I have no idea why this group was issued. I have never seen anything that uses it. From what I remember, the last time I tried to poke at the server with this group, it whined about not supporting it.
But we advertise it anyway, because its fun.
SNACHandler
Constructor and Description |
---|
TranslateHandler()
Family 0x000c.
|
Modifier and Type | Method and Description |
---|---|
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's.
|
void |
translateRequest(AIMSession sess,
AIMConnection conn,
ArrayList urls)
Subtype 0x0002 - Request a translation.
|
getFamily, getVersion, setFamily, setVersion
public void translateRequest(AIMSession sess, AIMConnection conn, ArrayList urls) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionurls
- a vector of URL's to translateIOException
- 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