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

android.net.RouteInfo Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
/*
 * Copyright (C) 2011 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package android.net;

@SuppressWarnings({"unchecked", "deprecation", "all"})
public final class RouteInfo implements android.os.Parcelable {

    public RouteInfo(@android.annotation.Nullable android.net.IpPrefix destination, @android.annotation.Nullable java.net.InetAddress gateway, @android.annotation.Nullable java.lang.String iface, int type) { throw new RuntimeException("Stub!"); }

    public RouteInfo(@android.annotation.Nullable android.net.IpPrefix destination, @android.annotation.Nullable java.net.InetAddress gateway, @android.annotation.Nullable java.lang.String iface, int type, int mtu) { throw new RuntimeException("Stub!"); }

    @android.annotation.NonNull
    public android.net.IpPrefix getDestination() { throw new RuntimeException("Stub!"); }

    @android.annotation.Nullable
    public java.net.InetAddress getGateway() { throw new RuntimeException("Stub!"); }

    @android.annotation.Nullable
    public java.lang.String getInterface() { throw new RuntimeException("Stub!"); }

    public int getType() { throw new RuntimeException("Stub!"); }

    public int getMtu() { throw new RuntimeException("Stub!"); }

    public boolean isDefaultRoute() { throw new RuntimeException("Stub!"); }

    public boolean hasGateway() { throw new RuntimeException("Stub!"); }

    public boolean matches(java.net.InetAddress destination) { throw new RuntimeException("Stub!"); }

    public java.lang.String toString() { throw new RuntimeException("Stub!"); }

    public boolean equals(@android.annotation.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }

    public int hashCode() { throw new RuntimeException("Stub!"); }

    public int describeContents() { throw new RuntimeException("Stub!"); }

    public void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }

    @android.annotation.NonNull public static final android.os.Parcelable.Creator CREATOR;
    static { CREATOR = null; }

    public static final int RTN_THROW = 9; // 0x9

    public static final int RTN_UNICAST = 1; // 0x1

    public static final int RTN_UNREACHABLE = 7; // 0x7
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy