Package org.opendaylight.openflowjava.nx
Class NiciraExtensionCodecRegistratorImpl
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.NiciraExtensionCodecRegistratorImpl
-
- All Implemented Interfaces:
AutoCloseable
,NiciraExtensionCodecRegistrator
public class NiciraExtensionCodecRegistratorImpl extends Object implements NiciraExtensionCodecRegistrator
Implementation of NiciraExtensionCodecRegistrator.- Author:
- msunal
-
-
Constructor Summary
Constructors Constructor Description NiciraExtensionCodecRegistratorImpl(List<SwitchConnectionProvider> providers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static OFDeserializer<Action>
getActionDeserializer(NiciraActionDeserializerKey key)
void
registerActionDeserializer(NiciraActionDeserializerKey key, OFDeserializer<Action> deserializer)
void
registerActionSerializer(NiciraActionSerializerKey key, OFSerializer<Action> serializer)
void
registerMatchEntryDeserializer(MatchEntryDeserializerKey key, OFDeserializer<MatchEntry> deserializer)
void
registerMatchEntrySerializer(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key, OFSerializer<MatchEntry> serializer)
void
unregisterActionDeserializer(NiciraActionDeserializerKey key)
void
unregisterActionSerializer(NiciraActionSerializerKey key)
void
unregisterMatchEntryDeserializer(MatchEntryDeserializerKey key)
void
unregisterMatchEntrySerializer(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key)
-
-
-
Constructor Detail
-
NiciraExtensionCodecRegistratorImpl
public NiciraExtensionCodecRegistratorImpl(List<SwitchConnectionProvider> providers)
-
-
Method Detail
-
registerActionDeserializer
public void registerActionDeserializer(NiciraActionDeserializerKey key, OFDeserializer<Action> deserializer)
- Specified by:
registerActionDeserializer
in interfaceNiciraExtensionCodecRegistrator
-
registerActionSerializer
public void registerActionSerializer(NiciraActionSerializerKey key, OFSerializer<Action> serializer)
- Specified by:
registerActionSerializer
in interfaceNiciraExtensionCodecRegistrator
-
unregisterActionDeserializer
public void unregisterActionDeserializer(NiciraActionDeserializerKey key)
- Specified by:
unregisterActionDeserializer
in interfaceNiciraExtensionCodecRegistrator
-
getActionDeserializer
public static OFDeserializer<Action> getActionDeserializer(NiciraActionDeserializerKey key)
-
unregisterActionSerializer
public void unregisterActionSerializer(NiciraActionSerializerKey key)
- Specified by:
unregisterActionSerializer
in interfaceNiciraExtensionCodecRegistrator
-
registerMatchEntryDeserializer
public void registerMatchEntryDeserializer(MatchEntryDeserializerKey key, OFDeserializer<MatchEntry> deserializer)
- Specified by:
registerMatchEntryDeserializer
in interfaceNiciraExtensionCodecRegistrator
-
unregisterMatchEntryDeserializer
public void unregisterMatchEntryDeserializer(MatchEntryDeserializerKey key)
- Specified by:
unregisterMatchEntryDeserializer
in interfaceNiciraExtensionCodecRegistrator
-
registerMatchEntrySerializer
public void registerMatchEntrySerializer(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key, OFSerializer<MatchEntry> serializer)
- Specified by:
registerMatchEntrySerializer
in interfaceNiciraExtensionCodecRegistrator
-
unregisterMatchEntrySerializer
public void unregisterMatchEntrySerializer(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key)
- Specified by:
unregisterMatchEntrySerializer
in interfaceNiciraExtensionCodecRegistrator
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-