edu.ksu.cis.projects.bogor.module.value.event
Interface ILockEventNotifier

All Superinterfaces:
IEventNotifier
All Known Subinterfaces:
IValueEventNotifier
All Known Implementing Classes:
DefaultLockEventNotifier, DefaultValueEventNotifier

public interface ILockEventNotifier
extends IEventNotifier

Version:
CVS $Revision: 1.2 $ $Date: 2004/09/05 01:50:48 $
Author:
Robby

Method Summary
 void addLockLockedListener(ILockLockedListener lll)
           
 void addLockNotifiedAllListener(ILockNotifiedAllListener lnal)
           
 void addLockNotifiedListener(ILockNotifiedListener lnl)
           
 void addLockUnlockedListener(ILockUnlockedListener lul)
           
 void addLockUnwaitListener(ILockUnwaitListener lul)
           
 void addLockWaitListener(ILockWaitListener lwl)
           
 void notifyLockLocked(int threadId, ILockValue lv, int newLockCounter)
           
 void notifyLockNotified(int threadId, ILockValue lv, int notifiedThreadId)
           
 void notifyLockNotifiedAll(int threadId, ILockValue lv, int[] notifiedThreadIds)
           
 void notifyLockUnlocked(int threadId, ILockValue lv, int newLockCounter)
           
 void notifyLockUnwait(int threadId, ILockValue lv, int lockCounter)
           
 void notifyLockWait(int threadId, ILockValue lv, int lockCounter)
           
 
Methods inherited from interface edu.ksu.cis.projects.bogor.module.event.IEventNotifier
enableNotification, enableNotification, getEnabledKeys, removeEnableNotificationKey, removeEnableNotificationKeys
 

Method Detail

addLockLockedListener

void addLockLockedListener(ILockLockedListener lll)

addLockNotifiedAllListener

void addLockNotifiedAllListener(ILockNotifiedAllListener lnal)

addLockNotifiedListener

void addLockNotifiedListener(ILockNotifiedListener lnl)

addLockUnlockedListener

void addLockUnlockedListener(ILockUnlockedListener lul)

addLockUnwaitListener

void addLockUnwaitListener(ILockUnwaitListener lul)

addLockWaitListener

void addLockWaitListener(ILockWaitListener lwl)

notifyLockLocked

void notifyLockLocked(int threadId,
                      ILockValue lv,
                      int newLockCounter)

notifyLockNotified

void notifyLockNotified(int threadId,
                        ILockValue lv,
                        int notifiedThreadId)

notifyLockNotifiedAll

void notifyLockNotifiedAll(int threadId,
                           ILockValue lv,
                           int[] notifiedThreadIds)

notifyLockUnlocked

void notifyLockUnlocked(int threadId,
                        ILockValue lv,
                        int newLockCounter)

notifyLockUnwait

void notifyLockUnwait(int threadId,
                      ILockValue lv,
                      int lockCounter)

notifyLockWait

void notifyLockWait(int threadId,
                    ILockValue lv,
                    int lockCounter)