Class AlivenessProtocolHandlerRegistryImpl
- java.lang.Object
-
- org.opendaylight.genius.alivenessmonitor.protocols.impl.AlivenessProtocolHandlerRegistryImpl
-
- All Implemented Interfaces:
AlivenessProtocolHandlerRegistry
@Singleton public class AlivenessProtocolHandlerRegistryImpl extends java.lang.Object implements AlivenessProtocolHandlerRegistry
Implementation of AlivenessProtocolHandlerRegistry. Implementations of this interface are expected to be thread-safe.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description AlivenessProtocolHandlerRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlivenessProtocolHandler<?>
get(java.lang.Class<?> packetClass)
AlivenessProtocolHandler<?>
get(MonitorProtocolType protocolType)
<T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet>
AlivenessProtocolHandler<T>getOpt(java.lang.Class<T> packetClass)
AlivenessProtocolHandler<?>
getOpt(MonitorProtocolType protocolType)
void
register(MonitorProtocolType protocolType, AlivenessProtocolHandler<?> protocolHandler)
-
-
-
Method Detail
-
register
public void register(MonitorProtocolType protocolType, AlivenessProtocolHandler<?> protocolHandler)
- Specified by:
register
in interfaceAlivenessProtocolHandlerRegistry
-
getOpt
public AlivenessProtocolHandler<?> getOpt(MonitorProtocolType protocolType)
- Specified by:
getOpt
in interfaceAlivenessProtocolHandlerRegistry
-
getOpt
public <T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet> AlivenessProtocolHandler<T> getOpt(java.lang.Class<T> packetClass)
- Specified by:
getOpt
in interfaceAlivenessProtocolHandlerRegistry
-
get
public AlivenessProtocolHandler<?> get(MonitorProtocolType protocolType)
- Specified by:
get
in interfaceAlivenessProtocolHandlerRegistry
-
get
public AlivenessProtocolHandler<?> get(java.lang.Class<?> packetClass)
-
-