Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / vpnservice / natservice / natservice-impl / src / main / java / org / opendaylight / netvirt / natservice / internal / SessionAddress.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.netvirt.natservice.internal;
10
11 public class SessionAddress {
12
13     private final String ipAddress;
14     private final int portNumber;
15
16     public SessionAddress(String ipAddress, int portNumber) {
17         this.ipAddress = ipAddress;
18         this.portNumber = portNumber;
19     }
20
21     public String getIpAddress() {
22         return ipAddress;
23     }
24
25     public int getPortNumber() {
26         return portNumber;
27     }
28
29 }