ldapsdk  0.0.1
LDAPMessageQueue.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 
8 #ifndef LDAP_MESSAGE_QUEUE_H
9 #define LDAP_MESSAGE_QUEUE_H
10 
11 #include <stack>
12 
13 #include <LDAPUrlList.h>
14 #include <LDAPMessage.h>
15 
16 class LDAPAsynConnection;
17 class LDAPRequest;
18 class LDAPSearchRequest;
19 class LDAPUrl;
20 typedef std::stack<LDAPRequest*> LDAPRequestStack;
21 typedef std::list<LDAPRequest*> LDAPRequestList;
22 
28  public :
29 
41 
50  LDAPMsg* getNext();
51 
58 
66 
67  private :
68  LDAPRequestStack m_activeReq;
69  LDAPRequestList m_issuedReq;
70 };
71 #endif //ifndef LDAP_MESSAGE_QUEUE_H
72