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)
Sender
Serializer
configure
in interface Sender
eventSerializer
- the Serializer
to usepublic boolean send(Event event)
Sender
Event
protected Integer getGroupPort()
protected String getGroupAddress()
protected void setGroupPort(Integer port)
protected void setGroupAddress(String address)
protected boolean isSameAddress(String hostAddress) throws UnknownHostException, SocketException
UnknownHostException
SocketException
Copyright © 2011–2017 aiticon GmbH. All rights reserved.