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