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)voidregister(MonitorProtocolType protocolType, AlivenessProtocolHandler<?> protocolHandler) 
 - 
 
- 
- 
Method Detail
- 
register
public void register(MonitorProtocolType protocolType, AlivenessProtocolHandler<?> protocolHandler)
- Specified by:
 registerin interfaceAlivenessProtocolHandlerRegistry
 
- 
getOpt
public AlivenessProtocolHandler<?> getOpt(MonitorProtocolType protocolType)
- Specified by:
 getOptin interfaceAlivenessProtocolHandlerRegistry
 
- 
getOpt
public <T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet> AlivenessProtocolHandler<T> getOpt(java.lang.Class<T> packetClass)
- Specified by:
 getOptin interfaceAlivenessProtocolHandlerRegistry
 
- 
get
public AlivenessProtocolHandler<?> get(MonitorProtocolType protocolType)
- Specified by:
 getin interfaceAlivenessProtocolHandlerRegistry
 
- 
get
public AlivenessProtocolHandler<?> get(java.lang.Class<?> packetClass)
 
 - 
 
 -