public class OfmErrorExper extends OfmError
length
Modifier and Type | Method and Description |
---|---|
ExperimenterId |
getExpId()
Returns the experimenter ID (if we know it); null otherwise; Since 1.2.
|
int |
getExpType()
Returns the experimenter-defined type; Since 1.2.
|
int |
getId()
Returns the experimenter ID encoded as an int; Since 1.2.
|
String |
toString() |
void |
validate()
Validates this message for completeness and throws an exception
if the message is considered "not complete".
|
getData, getErrorCode, getErrorMessage, getErrorType, toDebugString
decodeHeader, getType, getVersion, getXid, hex, hex, length
public void validate() throws IncompleteMessageException
OpenflowMessage
This default implementation does nothing, i.e. default behavior is that messages are considered complete.
Subclasses should override this method to check that mandatory fields or other internal state is present, throwing an exception if it is not.
validate
in class OfmError
IncompleteMessageException
- if the message is not completepublic int getExpType()
public int getId()
public ExperimenterId getExpId()
Copyright © 2015. All Rights Reserved.