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

EncryptionChangeEvent

public class EncryptionChangeEvent extends BluetoothEvent
Encryption change event.

Fields Summary
private int
handle
ACL connection handle for which encryption change has been performed.
private boolean
success
Indicates whether the change has occured.
private boolean
enabled
Indicates whether the link encryption is enabled.
Constructors Summary
public EncryptionChangeEvent(int aclHandle, boolean succ, boolean on)
Class constructor.

param
aclHandle ACL connection handle
param
succ true if the change occured, false otherwise
param
on true if the change occured, false otherwise

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

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