public final class UdpConnectionMap extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addConnection(InetSocketAddress address,
MessageConsumer consumer)
Adds a connection.
|
static MessageConsumer |
getMessageConsumer(InetSocketAddress address)
Gets the MessageConsumer for the given address.
|
static void |
removeConnection(InetSocketAddress address)
Removes a connection.
|
public static MessageConsumer getMessageConsumer(InetSocketAddress address)
address
- sender's addresspublic static void addConnection(InetSocketAddress address, MessageConsumer consumer)
address
- sender's addressconsumer
- MessageConsumer to be added / paired with specified addresspublic static void removeConnection(InetSocketAddress address)
address
- sender's addressCopyright © 2020 OpenDaylight. All rights reserved.