Class IkeSession
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
arg0Contextarg1IkeSessionParamsarg2ChildSessionParamsarg3Executorarg4IkeSessionCallbackarg5ChildSessionCallback
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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Close()
public void Close()
CloseChildSession(ChildSessionCallback)
public void CloseChildSession(ChildSessionCallback arg0)
Parameters
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
arg0Contextarg1IkeSessionParamsarg2ChildSessionParamsarg3Executorarg4IkeSessionCallbackarg5ChildSessionCallback
Returns
Dump(PrintWriter)
public void Dump(PrintWriter arg0)
Parameters
arg0PrintWriter
Kill()
public void Kill()
OpenChildSession(ChildSessionParams, ChildSessionCallback)
public void OpenChildSession(ChildSessionParams arg0, ChildSessionCallback arg1)