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.vpnservice.natservice.internal;
12 public class NAPTEntryEvent {
13 private String ipAddress;
14 private int portNumber;
15 private Long routerId;
17 private Protocol protocol;
19 public String getIpAddress() {
23 public int getPortNumber() {
27 public Long getRouterId() {
31 public Operation getOperation() {
35 public Protocol getProtocol() {
39 NAPTEntryEvent(String ipAddress, int portNumber, Long routerId, Operation op, Protocol protocol){
40 this.ipAddress = ipAddress;
41 this.portNumber = portNumber;
42 this.routerId = routerId;
44 this.protocol = protocol;
47 public enum Operation{