|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.walluck.oscar.handlers.SNACHandler
public abstract class SNACHandler
A SNAC is the basic communications unit that is exchanged between clients and servers. The SNAC handlers handle SNAC's.
| Constructor Summary | |
|---|---|
SNACHandler()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SNACHandler()
| Method Detail |
|---|
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 buffer
IOException - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||