Package org.logstash.beats
Class Server
- java.lang.Object
-
- org.logstash.beats.Server
-
public class Server extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableSSL(SslSimpleBuilder builder)
boolean
isSslEnable()
Server
listen()
void
setMessageListener(IMessageListener listener)
void
stop()
-
-
-
Constructor Detail
-
Server
public Server(String host, int p, int timeout, int threadCount)
-
-
Method Detail
-
enableSSL
public void enableSSL(SslSimpleBuilder builder)
-
listen
public Server listen() throws InterruptedException
- Throws:
InterruptedException
-
stop
public void stop()
-
setMessageListener
public void setMessageListener(IMessageListener listener)
-
isSslEnable
public boolean isSslEnable()
-
-