| Modifier and Type | Field and Description |
|---|---|
static String |
APPNG_MESSAGING_BIND_ADR |
| Constructor and Description |
|---|
MulticastSender(String address,
Integer port) |
| Modifier and Type | Method and Description |
|---|---|
MulticastSender |
configure(Serializer eventSerializer)
Configures this sender with the given
Serializer |
protected String |
getGroupAddress() |
protected Integer |
getGroupPort() |
protected boolean |
isSameAddress(String hostAddress) |
boolean |
send(Event event)
Sends the given
Event |
protected void |
setGroupAddress(String address) |
protected void |
setGroupPort(Integer port) |
public static final String APPNG_MESSAGING_BIND_ADR
public MulticastSender configure(Serializer eventSerializer)
SenderSerializerconfigure in interface SendereventSerializer - the Serializer to usepublic boolean send(Event event)
SenderEventprotected Integer getGroupPort()
protected String getGroupAddress()
protected void setGroupPort(Integer port)
protected void setGroupAddress(String address)
protected boolean isSameAddress(String hostAddress) throws UnknownHostException, SocketException
UnknownHostExceptionSocketExceptionCopyright © 2011–2022 aiticon GmbH. All rights reserved.