|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.ethz.iks.slp.impl.SLPDaemonImpl
public final class SLPDaemonImpl
the jSLP daemon class. This class is only required, if the peer is configured as a SA and no other SLP daemon is running on the machine. UA-only configurations or distributions that are intended to run on a machine with OpenSLP slpd can be packaged without this class.
| Constructor Summary | |
|---|---|
SLPDaemonImpl()
create a new SLPDaemon instance. |
|
| Method Summary | |
|---|---|
ch.ethz.iks.slp.impl.ReplyMessage |
handleMessage(SLPMessage msg)
all incoming messages are handled here. |
void |
newDaDiscovered(ch.ethz.iks.slp.impl.DAAdvertisement advert)
get informed about a new discovered DA. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SLPDaemonImpl()
throws Exception
tcpSocket - the server socket.
Exception - if something goes wrong.| Method Detail |
|---|
public ch.ethz.iks.slp.impl.ReplyMessage handleMessage(SLPMessage msg)
throws ServiceLocationException
handleMessage in interface SLPDaemonmsg - the message to be processed.
ServiceLocationException - for various reasons like authentication failures etc.public void newDaDiscovered(ch.ethz.iks.slp.impl.DAAdvertisement advert)
newDaDiscovered in interface SLPDaemonadvert - the DA advertisement.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||