public class OVXMessageFactory extends BasicFactory
Modifier | Constructor and Description |
---|---|
protected |
OVXMessageFactory() |
Modifier and Type | Method and Description |
---|---|
OFAction |
getAction(OFActionType t)
Retrieves an OFAction instance corresponding to the specified
OFActionType
|
static OVXMessageFactory |
getInstance() |
OFMessage |
getMessage(OFType t)
create and return a new instance of a message for OFType t.
|
OFStatistics |
getStatistics(OFType t,
OFStatisticsType st)
Retrieves an OFStatistics instance corresponding to the specified
OFStatisticsType
|
dumpBuffer, getActionFactory, getVendorData, parseActions, parseActions, parseMessage, parseMessageOne, parseStatistics, parseStatistics, parseVendorData
public static OVXMessageFactory getInstance()
public OFMessage getMessage(OFType t)
BasicFactory
getMessage
in interface OFMessageFactory
getMessage
in class BasicFactory
t
- the type of the OFMessage to be retrievedpublic OFAction getAction(OFActionType t)
OFActionFactory
getAction
in interface OFActionFactory
getAction
in class BasicFactory
t
- the type of the OFAction to be retrievedpublic OFStatistics getStatistics(OFType t, OFStatisticsType st)
OFStatisticsFactory
getStatistics
in interface OFStatisticsFactory
getStatistics
in class BasicFactory
t
- the type of the containing OFMessage, only accepts statistics
request or replyst
- the type of the OFStatistics to be retrievedCopyright © 2015. All rights reserved.