@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(EtherTypes etherType) |
<T extends org.opendaylight.openflowplugin.libraries.liblldp.Packet> |
getOpt(Class<T> packetClass) |
AlivenessProtocolHandler<?> |
getOpt(EtherTypes etherType) |
void |
register(EtherTypes etherType,
AlivenessProtocolHandler<?> protocolHandler) |
public AlivenessProtocolHandlerRegistryImpl()
public void register(EtherTypes etherType, AlivenessProtocolHandler<?> protocolHandler)
register
in interface AlivenessProtocolHandlerRegistry
public AlivenessProtocolHandler<?> getOpt(EtherTypes etherType)
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(EtherTypes etherType)
get
in interface AlivenessProtocolHandlerRegistry
public AlivenessProtocolHandler<?> get(Class<?> packetClass)
Copyright © 2019 OpenDaylight. All rights reserved.