Constructor and Description |
---|
UdpListener(String name,
List<UdpParser> parsers,
com.codahale.metrics.MetricRegistry metrics) |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
int |
getMaxPacketSize() |
String |
getName() |
int |
getPort() |
void |
setHost(String host) |
void |
setMaxPacketSize(int maxPacketSize) |
void |
setPort(int port) |
void |
start() |
void |
stop() |
public void start() throws InterruptedException
start
in interface Listener
InterruptedException
public void stop() throws InterruptedException
stop
in interface Listener
InterruptedException
public String getHost()
public void setHost(String host)
public void setPort(int port)
public int getPort()
public int getMaxPacketSize()
public void setMaxPacketSize(int maxPacketSize)
Copyright © 2020. All rights reserved.