Table of Contents

Class SocketKeepalive

Namespace
Android.Net
Assembly
MASES.Netdroid.dll
public class SocketKeepalive : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable
Inheritance
SocketKeepalive
Implements
Extension Methods

Constructors

SocketKeepalive(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 SocketKeepalive(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ERROR_HARDWARE_ERROR

public static int ERROR_HARDWARE_ERROR { get; set; }

Property Value

int

ERROR_INSUFFICIENT_RESOURCES

public static int ERROR_INSUFFICIENT_RESOURCES { get; set; }

Property Value

int

ERROR_INVALID_INTERVAL

public static int ERROR_INVALID_INTERVAL { get; set; }

Property Value

int

ERROR_INVALID_IP_ADDRESS

public static int ERROR_INVALID_IP_ADDRESS { get; set; }

Property Value

int

ERROR_INVALID_LENGTH

public static int ERROR_INVALID_LENGTH { get; set; }

Property Value

int

ERROR_INVALID_NETWORK

public static int ERROR_INVALID_NETWORK { get; set; }

Property Value

int

ERROR_INVALID_PORT

public static int ERROR_INVALID_PORT { get; set; }

Property Value

int

ERROR_INVALID_SOCKET

public static int ERROR_INVALID_SOCKET { get; set; }

Property Value

int

ERROR_SOCKET_NOT_IDLE

public static int ERROR_SOCKET_NOT_IDLE { get; set; }

Property Value

int

ERROR_UNSUPPORTED

public static int ERROR_UNSUPPORTED { get; set; }

Property Value

int

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

Close()

public void Close()

Start(int)

public void Start(int arg0)

Parameters

arg0 int

int

Stop()

public void Stop()