All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.netvirt.natservice.internal.IPAddress Maven / Gradle / Ivy

There is a newer version: 0.11.4
Show newest version
/*
 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.netvirt.natservice.internal;

public class IPAddress {

    private final String ipAddress;
    private final int prefixLength;

    public IPAddress(String ipAddress, int prefixLength) {
        this.ipAddress = ipAddress;
        this.prefixLength = prefixLength;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public int getPrefixLength() {
        return prefixLength;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy