blob: ee5cdb20374a51beae5019560c03f6b4e73669d1 [file] [log] [blame]
package net.onrc.onos.core.matchaction.action;
/**
* An action object to modify lambda.
* <p>
* This class does not have a switch ID. The switch ID is handled by
* MatchAction, IFlow or Intent class.
*/
public class ModifyLambdaAction implements IAction {
protected int lambda;
/**
* Constructor.
*
* @param dstPort Destination port number
*/
public ModifyLambdaAction(int lambda) {
this.lambda = lambda;
}
/**
* Gets the lambda.
*
* @return The lambda.
*/
public int getLambda() {
return lambda;
}
}