public abstract class SNACHandler extends Object
| Constructor and Description |
|---|
SNACHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFamily()
Get the value of family.
|
int |
getVersion()
Get the value of version.
|
abstract void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's.
|
void |
setFamily(int family)
Set the value of family.
|
void |
setVersion(int version)
Set the value of version.
|
public abstract void handleSNAC(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, AIMInputStream buffer) throws IOException
sess - the oscar sessionhandler - the handlerframe - the incoming framesnac - the incoming SNACbuffer - the incoming bufferIOException - if an error occurspublic int getFamily()
public void setFamily(int family)
family - Value to assign to family.public int getVersion()
public void setVersion(int version)
version - Value to assign to version.