|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.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. |
void |
stopDaemon()
Michele issue 65 |
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 SLPDaemon
msg
- 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 SLPDaemon
advert
- the DA advertisement.public void stopDaemon()
stopDaemon
in interface SLPDaemon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |