|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.ldapadapter.appconn.STCEventQueueImpl
public class STCEventQueueImpl
Class that stores the events as notified by the LDAPListener class.
Constructor Summary | |
---|---|
STCEventQueueImpl()
|
Method Summary | |
---|---|
int |
countSTCNotificationEvent()
Returns the number of events in the queue |
STCNotificationEvent |
getSTCNotificationEvent(int i)
Returns the event at the specified index from the queue of events |
boolean |
hasEvents()
Checks if there are any events in the event queue |
STCNotificationEvent |
removeEvent(int i)
Removes an event from the event queue as specified by the index |
void |
reset()
Method to reset the values |
void |
setSTCNotificationEvent(STCNotificationEvent event)
Adds an event to the event queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STCEventQueueImpl()
Method Detail |
---|
public void reset()
STCEventQueue
reset
in interface STCEventQueue
public boolean hasEvents()
hasEvents
in interface STCEventQueue
public void setSTCNotificationEvent(STCNotificationEvent event)
setSTCNotificationEvent
in interface STCEventQueue
event
- the notification event as a STCNotificationEvent objectpublic int countSTCNotificationEvent()
countSTCNotificationEvent
in interface STCEventQueue
public STCNotificationEvent getSTCNotificationEvent(int i) throws java.lang.IndexOutOfBoundsException
getSTCNotificationEvent
in interface STCEventQueue
i
- the index of the event to be returned
java.lang.IndexOutOfBoundsException
- if the index specified is not in rangepublic STCNotificationEvent removeEvent(int i) throws java.lang.IndexOutOfBoundsException
removeEvent
in interface STCEventQueue
i
- the index of the event to be removed from the queue
java.lang.IndexOutOfBoundsException
- if the index specified is not in range
|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |