Constructor and Description |
---|
TcpListener() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getName() |
int |
getPort() |
static void |
main(String... args) |
void |
setDispatcher(AsyncDispatcher<TelemetryMessage> dispatcher) |
void |
setHost(String host) |
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 void setDispatcher(AsyncDispatcher<TelemetryMessage> dispatcher)
setDispatcher
in interface Listener
Copyright © 2018. All rights reserved.