Table of Contents

Class Network

Namespace
Android.Net
Assembly
MASES.Netdroid.dll
public class Network : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IParcelable
Inheritance
JVMBridgeBase
JVMBridgeBase<Parcelable>
Network
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Parcelable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Parcelable>.IsAssignableFrom<T>()
JVMBridgeBase<Parcelable>.Execute<T>(params T[])
JVMBridgeBase<Parcelable>.DynBridgeClazz
JVMBridgeBase<Parcelable>.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

Network()

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

public Network()

Network(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 Network(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; }

Property Value

Parcelable.Creator

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

BindSocket(FileDescriptor)

public void BindSocket(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

IOException

BindSocket(DatagramSocket)

public void BindSocket(DatagramSocket arg0)

Parameters

arg0 DatagramSocket

DatagramSocket

Exceptions

IOException

BindSocket(Socket)

public void BindSocket(Socket arg0)

Parameters

arg0 Socket

Socket

Exceptions

IOException

DescribeContents()

public int DescribeContents()

Returns

int

int

FromNetworkHandle(long)

public static Network FromNetworkHandle(long arg0)

Parameters

arg0 long

long

Returns

Network

Network

GetAllByName(String)

public InetAddress[] GetAllByName(String arg0)

Parameters

arg0 String

String

Returns

InetAddress[]

InetAddress

Exceptions

UnknownHostException

GetByName(String)

public InetAddress GetByName(String arg0)

Parameters

arg0 String

String

Returns

InetAddress

InetAddress

Exceptions

UnknownHostException

GetNetworkHandle()

public long GetNetworkHandle()

Returns

long

long

GetSocketFactory()

public SocketFactory GetSocketFactory()

Returns

SocketFactory

SocketFactory

OpenConnection(URL)

public URLConnection OpenConnection(URL arg0)

Parameters

arg0 URL

URL

Returns

URLConnection

URLConnection

Exceptions

IOException

OpenConnection(URL, Proxy)

public URLConnection OpenConnection(URL arg0, Proxy arg1)

Parameters

arg0 URL

URL

arg1 Proxy

Proxy

Returns

URLConnection

URLConnection

Exceptions

IOException

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int