public static interface Daemon.UDPListener
| Modifier and Type | Method and Description |
|---|---|
void |
receive(byte[] message) |
void receive(byte[] message)
throws java.lang.Exception
message - the message starts with header:
[host].[node], so for example; if I send a message
from cluster node one (Daemon.name())
with application host.rupy.se the first bytes would be
'se.rupy.host.one' followed by payload.
Max length is 1024 bytes!java.lang.Exception