| Constructor and Description |
|---|
SAMv3DatagramServer(SAMBridge parent,
String host,
int port,
Properties props)
Does not start listener.
|
| Modifier and Type | Method and 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 String getHost()
public int getPort()
public void send(SocketAddress addr, ByteBuffer msg) throws IOException
IOExceptionpublic void start()
public void stopHandling()
stopHandling in interface Handler