org.openflow.protocol.factory
Class OFVendorActionRegistry

java.lang.Object
  extended by org.openflow.protocol.factory.OFVendorActionRegistry

public class OFVendorActionRegistry
extends java.lang.Object

Singleton registry object that holds a mapping from vendor ids to vendor-specific mapping factories. Threadsafe.

Author:
Andreas Wundsam

Constructor Summary
OFVendorActionRegistry()
           
 
Method Summary
 OFVendorActionFactory get(int vendorId)
           
static OFVendorActionRegistry getInstance()
           
 OFVendorActionFactory register(int vendorId, OFVendorActionFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OFVendorActionRegistry

public OFVendorActionRegistry()
Method Detail

getInstance

public static OFVendorActionRegistry getInstance()

register

public OFVendorActionFactory register(int vendorId,
                                      OFVendorActionFactory factory)

get

public OFVendorActionFactory get(int vendorId)