| Constructor | Description |
|---|---|
SAMv3DatagramServer(SAMBridge parent,
String host,
int port,
Properties props) |
Does not start listener.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getHost() |
|
int |
getPort() |
|
void |
send(SocketAddress addr,
ByteBuffer msg) |
|
void |
start() |
Only call once.
|
void |
stopHandling() |
Cannot be restarted.
|
public SAMv3DatagramServer(SAMBridge parent, String host, int port, Properties props) throws IOException
parent - may be nullprops - ignored for nowIOExceptionpublic void start()
public void stopHandling()
stopHandling in interface Handlerpublic void send(SocketAddress addr, ByteBuffer msg) throws IOException
IOExceptionpublic String getHost()
public int getPort()