Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
int |
getMaxPacketSize() |
String |
getName() |
int |
getPort() |
void |
setDispatcher(AsyncDispatcher<TelemetryMessage> dispatcher) |
void |
setHost(String host) |
void |
setMaxPacketSize(int maxPacketSize) |
void |
setName(String name) |
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 int getPort()
public void setPort(int port)
public int getMaxPacketSize()
public void setMaxPacketSize(int maxPacketSize)
public void setDispatcher(AsyncDispatcher<TelemetryMessage> dispatcher)
setDispatcher
in interface Listener
Copyright © 2018. All rights reserved.