IConnectionEventListener Interface

Definition

An object that registers to be notified of events generated by a <code>PooledConnection</code> object.

[Android.Runtime.Register("javax/sql/ConnectionEventListener", "", "Javax.Sql.IConnectionEventListenerInvoker")]
public interface IConnectionEventListener : IDisposable, Java.Interop.IJavaPeerable, Java.Util.IEventListener
[<Android.Runtime.Register("javax/sql/ConnectionEventListener", "", "Javax.Sql.IConnectionEventListenerInvoker")>]
type IConnectionEventListener = interface
    interface IEventListener
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

Java documentation for javax.sql.ConnectionEventListener.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode (Inherited from IJavaPeerable)
JniManagedPeerState (Inherited from IJavaPeerable)
JniPeerMembers (Inherited from IJavaPeerable)
PeerReference (Inherited from IJavaPeerable)

Methods

ConnectionClosed(ConnectionEvent)

Notifies this <code>ConnectionEventListener</code> that the application has called the method <code>close</code> on its representation of a pooled connection.

ConnectionErrorOccurred(ConnectionEvent)

Notifies this <code>ConnectionEventListener</code> that a fatal error has occurred and the pooled connection can no longer be used.

Disposed() (Inherited from IJavaPeerable)
DisposeUnlessReferenced() (Inherited from IJavaPeerable)
Finalized() (Inherited from IJavaPeerable)
SetJniIdentityHashCode(Int32) (Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference) (Inherited from IJavaPeerable)
UnregisterFromRuntime() (Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to