2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netvirt.natservice.internal;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived;
13 public class NAPTEntryEvent {
14 private String ipAddress;
15 private int portNumber;
16 private Long routerId;
18 private Protocol protocol;
19 private PacketReceived packetReceived;
20 private boolean pktProcessed;
22 public PacketReceived getPacketReceived() {
23 return packetReceived;
26 public boolean isPktProcessed() {
30 public String getIpAddress() {
34 public int getPortNumber() {
38 public Long getRouterId() {
42 public Operation getOperation() {
46 public Protocol getProtocol() {
50 NAPTEntryEvent(String ipAddress, int portNumber, Long routerId, Operation op, Protocol protocol,
51 PacketReceived packetReceived, boolean pktProcessed) {
52 this.ipAddress = ipAddress;
53 this.portNumber = portNumber;
54 this.routerId = routerId;
56 this.protocol = protocol;
57 this.packetReceived = packetReceived;
58 this.pktProcessed = pktProcessed;
61 public enum Operation {
65 public enum Protocol {