| 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)send. |
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 - configuration properties (reserved for future use)IOExceptionpublic String getHost()
public int getPort()
public void send(SocketAddress addr, ByteBuffer msg) throws IOException
IOExceptionpublic void start()
public void stopHandling()
stopHandling in interface Handler