@Singleton @ThreadSafe public class AlivenessProtocolHandlerRegistryImpl extends Object implements AlivenessProtocolHandlerRegistry
Constructor and Description |
---|
AlivenessProtocolHandlerRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
AlivenessProtocolHandler<?> |
get(Class<?> packetClass) |
AlivenessProtocolHandler<?> |
get(MonitorProtocolType protocolType) |
<T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet> |
getOpt(Class<T> packetClass) |
AlivenessProtocolHandler<?> |
getOpt(MonitorProtocolType protocolType) |
void |
register(MonitorProtocolType protocolType,
AlivenessProtocolHandler<?> protocolHandler) |
public AlivenessProtocolHandlerRegistryImpl()
public void register(MonitorProtocolType protocolType, AlivenessProtocolHandler<?> protocolHandler)
register
in interface AlivenessProtocolHandlerRegistry
public AlivenessProtocolHandler<?> getOpt(MonitorProtocolType protocolType)
getOpt
in interface AlivenessProtocolHandlerRegistry
public <T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet> AlivenessProtocolHandler<T> getOpt(Class<T> packetClass)
getOpt
in interface AlivenessProtocolHandlerRegistry
public AlivenessProtocolHandler<?> get(MonitorProtocolType protocolType)
get
in interface AlivenessProtocolHandlerRegistry
public AlivenessProtocolHandler<?> get(Class<?> packetClass)
Copyright © 2019 OpenDaylight. All rights reserved.