|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
this interface specifies the methods of an ApplicationListener
Method Summary | |
void |
connect(fr.dgac.ivy.IvyClient client)
invoked when a Ivy Client has joined the bus |
void |
die(fr.dgac.ivy.IvyClient client,
int id)
invoked when a peer request us to leave the bus |
void |
directMessage(fr.dgac.ivy.IvyClient client,
int id,
java.lang.String msgarg)
invoked when a peer sends us a direct message |
void |
disconnect(fr.dgac.ivy.IvyClient client)
invoked when a Ivy Client has left the bus |
Method Detail |
public void connect(fr.dgac.ivy.IvyClient client)
client
- the peerpublic void disconnect(fr.dgac.ivy.IvyClient client)
client
- the peerpublic void die(fr.dgac.ivy.IvyClient client, int id)
client
- the peerpublic void directMessage(fr.dgac.ivy.IvyClient client, int id, java.lang.String msgarg)
client
- the peerid
- msgarg
- the message itself
this is not yet implemented in java. I believe it has no real use :)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |