FileDocCategorySizeDatePackage
AuthenticationCompleteEvent.javaAPI DocphoneME MR2 API (J2ME)1849Wed May 02 18:00:30 BST 2007com.sun.midp.jsr082.bluetooth

AuthenticationCompleteEvent

public class AuthenticationCompleteEvent extends BluetoothEvent
Authentication completion event.

Fields Summary
private int
handle
ACL connection handle for which authentication has been performed.
private boolean
success
Indicates whether the authentication succeeded.
Constructors Summary
public AuthenticationCompleteEvent(int aclHandle, boolean succ)
Class constructor.

param
aclHandle ACL connection handle
param
succ true if the authentication succeeded, false otherwise

        handle = aclHandle;
        success = succ;
    
Methods Summary
public voidprocess()
Processes this event.

        BluetoothStack.getInstance().onAuthenticationComplete(handle, success);