Table of Contents

Class InetAddress

Namespace
Java.Net
Assembly
MASES.Netdroid.dll
public class InetAddress : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
InetAddress
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

InetAddress()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public InetAddress()

InetAddress(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public InetAddress(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

GetAddress()

public byte[] GetAddress()

Returns

byte[]

byte

GetAllByName(String)

public static InetAddress[] GetAllByName(String arg0)

Parameters

arg0 String

String

Returns

InetAddress[]

InetAddress

Exceptions

UnknownHostException

GetByAddress(String, byte[])

public static InetAddress GetByAddress(String arg0, byte[] arg1)

Parameters

arg0 String

String

arg1 byte[]

byte

Returns

InetAddress

InetAddress

Exceptions

UnknownHostException

GetByAddress(byte[])

public static InetAddress GetByAddress(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

InetAddress

InetAddress

Exceptions

UnknownHostException

GetByName(String)

public static InetAddress GetByName(String arg0)

Parameters

arg0 String

String

Returns

InetAddress

InetAddress

Exceptions

UnknownHostException

GetCanonicalHostName()

public String GetCanonicalHostName()

Returns

String

String

GetHostAddress()

public String GetHostAddress()

Returns

String

String

GetHostName()

public String GetHostName()

Returns

String

String

GetLocalHost()

public static InetAddress GetLocalHost()

Returns

InetAddress

InetAddress

Exceptions

UnknownHostException

GetLoopbackAddress()

public static InetAddress GetLoopbackAddress()

Returns

InetAddress

InetAddress

IsAnyLocalAddress()

public bool IsAnyLocalAddress()

Returns

bool

bool

IsLinkLocalAddress()

public bool IsLinkLocalAddress()

Returns

bool

bool

IsLoopbackAddress()

public bool IsLoopbackAddress()

Returns

bool

bool

IsMCGlobal()

public bool IsMCGlobal()

Returns

bool

bool

IsMCLinkLocal()

public bool IsMCLinkLocal()

Returns

bool

bool

IsMCNodeLocal()

public bool IsMCNodeLocal()

Returns

bool

bool

IsMCOrgLocal()

public bool IsMCOrgLocal()

Returns

bool

bool

IsMCSiteLocal()

public bool IsMCSiteLocal()

Returns

bool

bool

IsMulticastAddress()

public bool IsMulticastAddress()

Returns

bool

bool

IsReachable(NetworkInterface, int, int)

public bool IsReachable(NetworkInterface arg0, int arg1, int arg2)

Parameters

arg0 NetworkInterface

NetworkInterface

arg1 int

int

arg2 int

int

Returns

bool

bool

Exceptions

IOException

IsReachable(int)

public bool IsReachable(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

IsSiteLocalAddress()

public bool IsSiteLocalAddress()

Returns

bool

bool