Interface Listener
-
- All Known Implementing Classes:
TcpListener
,UdpListener
public interface Listener
Interface used by the daemon to manage listeners. When messages are received, they should be forwarded to the givenParser
s.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getName()
java.util.Collection<? extends Parser>
getParsers()
void
start()
void
stop()
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getDescription
java.lang.String getDescription()
-
getParsers
java.util.Collection<? extends Parser> getParsers()
-
start
void start() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
stop
void stop() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-