Table of Contents

Class Network

Namespace
Android.Net
Assembly
MASES.Netdroid.dll
public class Network : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
Network
Implements
Inherited Members
Extension Methods

Constructors

Network(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Network(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

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