blob: ee5cdb20374a51beae5019560c03f6b4e73669d1 [file] [log] [blame]
Toshio Koidea03915e2014-07-01 18:39:52 -07001package net.onrc.onos.core.matchaction.action;
2
3/**
4 * An action object to modify lambda.
5 * <p>
6 * This class does not have a switch ID. The switch ID is handled by
7 * MatchAction, IFlow or Intent class.
8 */
9public class ModifyLambdaAction implements IAction {
10 protected int lambda;
11
12 /**
13 * Constructor.
14 *
15 * @param dstPort Destination port number
16 */
17 public ModifyLambdaAction(int lambda) {
18 this.lambda = lambda;
19 }
20
21 /**
22 * Gets the lambda.
23 *
24 * @return The lambda.
25 */
26 public int getLambda() {
27 return lambda;
28 }
29
30}