Table of Contents

Class IkeSession

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

Constructors

IkeSession(Context, IkeSessionParams, ChildSessionParams, Executor, IkeSessionCallback, ChildSessionCallback)

public IkeSession(Context arg0, IkeSessionParams arg1, ChildSessionParams arg2, Executor arg3, IkeSessionCallback arg4, ChildSessionCallback arg5)

Parameters

arg0 Context

Context

arg1 IkeSessionParams

IkeSessionParams

arg2 ChildSessionParams

ChildSessionParams

arg3 Executor

Executor

arg4 IkeSessionCallback

IkeSessionCallback

arg5 ChildSessionCallback

ChildSessionCallback

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

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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()

CloseChildSession(ChildSessionCallback)

public void CloseChildSession(ChildSessionCallback arg0)

Parameters

arg0 ChildSessionCallback

ChildSessionCallback

CreatePoolableInstance(Context, IkeSessionParams, ChildSessionParams, Executor, IkeSessionCallback, ChildSessionCallback)

HPA initializer for IkeSession(Android.Content.Context arg0, Android.Net.Ipsec.Ike.IkeSessionParams arg1, Android.Net.Ipsec.Ike.ChildSessionParams arg2, Java.Util.Concurrent.Executor arg3, Android.Net.Ipsec.Ike.IkeSessionCallback arg4, Android.Net.Ipsec.Ike.ChildSessionCallback arg5)

public static IkeSession CreatePoolableInstance(Context arg0, IkeSessionParams arg1, ChildSessionParams arg2, Executor arg3, IkeSessionCallback arg4, ChildSessionCallback arg5)

Parameters

arg0 Context
arg1 IkeSessionParams
arg2 ChildSessionParams
arg3 Executor
arg4 IkeSessionCallback
arg5 ChildSessionCallback

Returns

IkeSession

Dump(PrintWriter)

public void Dump(PrintWriter arg0)

Parameters

arg0 PrintWriter

PrintWriter

Kill()

public void Kill()

OpenChildSession(ChildSessionParams, ChildSessionCallback)

public void OpenChildSession(ChildSessionParams arg0, ChildSessionCallback arg1)

Parameters

arg0 ChildSessionParams

ChildSessionParams

arg1 ChildSessionCallback

ChildSessionCallback