Error Codes of CNQPeerList | |
#define | ERR_PL_NONE 0 |
No error. | |
#define | ERR_PL_LOCK 1 |
Mutal lock of a critical section failed. | |
#define | ERR_PL_FULL 2 |
Data storage buffer is full. | |
#define | ERR_PL_NOTFOUND 3 |
Element not found in buffer. | |
#define | ERR_PL_INDEXNOTSET 4 |
Receive packet index is not (yet) set. | |
Error Codes for CNQPacketQueue | |
#define | ERR_PQ_NONE 0 |
No error. | |
#define | ERR_PQ_LOCK 1 |
Mutal lock of a critical section failed. | |
#define | ERR_PQ_FULL 2 |
Data storage buffer is full. | |
#define | ERR_PQ_NOTFOUND 3 |
Element not found in buffer. | |
#define | ERR_PQ_BADPARAM 4 |
Bad parameter passed. | |
Error Codes for CNQResponseWaitQueue | |
#define | ERR_RWQ_NONE 0 |
no error | |
#define | ERR_RWQ_LOCK 1 |
Mutal Lock of a critical section failed. | |
#define | ERR_RWQ_FULL 2 |
Data storage buffer is full. | |
#define | ERR_RWQ_NOTFOUND 3 |
Element not found in buffer. | |
Defines | |
#define | ERR_NQ_BASE 0 |
#define | ERR_NQ_NUMERRORS 28 |
#define | ERR_NQ_NONE (ERR_NQ_BASE+0) |
No error. | |
#define | ERR_NQ_ALREADY (ERR_NQ_BASE+1) |
Queue is already connected. | |
#define | ERR_NQ_BADPOOL (ERR_NQ_BASE+2) |
CNQMessage pool buffers could not be properly initialized. | |
#define | ERR_NQ_BADIP (ERR_NQ_BASE+3) |
Malformed string IP passed. | |
#define | ERR_NQ_SOCREATE (ERR_NQ_BASE+4) |
UDP socket could not be created properly. | |
#define | ERR_NQ_SOBIND (ERR_NQ_BASE+5) |
UDP socket bind unsuccessful. | |
#define | ERR_NQ_ADDPEER (ERR_NQ_BASE+6) |
initial peer could not be added at init time | |
#define | ERR_NQ_SONONBLOCK (ERR_NQ_BASE+7) |
error setting socket to nonblocking | |
#define | ERR_NQ_SEMCREATESEND (ERR_NQ_BASE+8) |
send semaphore create error | |
#define | ERR_NQ_SEMCREATERECV (ERR_NQ_BASE+9) |
receive semaphore create error | |
#define | ERR_NQ_THRDCREATESEND (ERR_NQ_BASE+10) |
could not start send thread | |
#define | ERR_NQ_THRDCREATERECV (ERR_NQ_BASE+11) |
could not start receive thread | |
#define | ERR_NQ_THRDCLEANUP (ERR_NQ_BASE+12) |
thread cleanup failed | |
#define | ERR_NQ_SOCLOSE (ERR_NQ_BASE+13) |
socket cleanup failed | |
#define | ERR_NQ_SEMCLEANUP (ERR_NQ_BASE+14) |
semaphore cleanup | |
#define | ERR_NQ_MSGINVALID (ERR_NQ_BASE+15) |
invalid message | |
#define | ERR_NQ_SENDQUEUEFULL (ERR_NQ_BASE+16) |
internal send queue stuffed | |
#define | ERR_NQ_SENDQUEUE (ERR_NQ_BASE+17) |
internal send queue error | |
#define | ERR_NQ_SEMNOTIFY (ERR_NQ_BASE+18) |
semaphore notification failed | |
#define | ERR_NQ_EMPTY (ERR_NQ_BASE+19) |
empty queue, no element returned | |
#define | ERR_NQ_RECVQUEUE (ERR_NQ_BASE+20) |
internal Receive Queue error | |
#define | ERR_NQ_TIMEOUT (ERR_NQ_BASE+21) |
timeout waiting for response / ack | |
#define | ERR_NQ_SEMCREATE (ERR_NQ_BASE+22) |
temporary semaphore could not be created | |
#define | ERR_NQ_RESPTROUBLE (ERR_NQ_BASE+23) |
response could not be found in special queue | |
#define | ERR_NQ_SEMDELETE (ERR_NQ_BASE+24) |
temporary semaphore could not be deleted | |
#define | ERR_NQ_INVALIDPEER (ERR_NQ_BASE+25) |
invalid, unknown peer passed | |
#define | ERR_NQ_ACKQUEUE (ERR_NQ_BASE+26) |
internal error in ack packet waiting queue | |
#define | ERR_NQ_RESPWAITQUEUE (ERR_NQ_BASE+27) |
internal error in responsewait queue |
#define ERR_NQ_ACKQUEUE (ERR_NQ_BASE+26) |
internal error in ack packet waiting queue
Definition at line 135 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo().
#define ERR_NQ_ADDPEER (ERR_NQ_BASE+6) |
initial peer could not be added at init time
Definition at line 95 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_ALREADY (ERR_NQ_BASE+1) |
Queue is already connected.
Definition at line 85 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_BADIP (ERR_NQ_BASE+3) |
Malformed string IP passed.
Definition at line 89 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_BADPOOL (ERR_NQ_BASE+2) |
CNQMessage pool buffers could not be properly initialized.
Definition at line 87 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_BASE 0 |
#define ERR_NQ_EMPTY (ERR_NQ_BASE+19) |
empty queue, no element returned
Definition at line 121 of file NQDeclarations.h.
Referenced by CNetworkQueue::recvMsg().
#define ERR_NQ_INVALIDPEER (ERR_NQ_BASE+25) |
invalid, unknown peer passed
Definition at line 133 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendMsgToInternal().
#define ERR_NQ_MSGINVALID (ERR_NQ_BASE+15) |
invalid message
Definition at line 113 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendMsgToInternal().
#define ERR_NQ_NONE (ERR_NQ_BASE+0) |
No error.
Definition at line 83 of file NQDeclarations.h.
Referenced by CNetworkQueue::CNetworkQueue(), CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendRecvMsg().
#define ERR_NQ_NUMERRORS 28 |
#define ERR_NQ_RECVQUEUE (ERR_NQ_BASE+20) |
internal Receive Queue error
Definition at line 123 of file NQDeclarations.h.
Referenced by CNetworkQueue::recvMsg().
#define ERR_NQ_RESPTROUBLE (ERR_NQ_BASE+23) |
response could not be found in special queue
Definition at line 129 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendRecvMsg().
#define ERR_NQ_RESPWAITQUEUE (ERR_NQ_BASE+27) |
internal error in responsewait queue
Definition at line 137 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendRecvMsg().
#define ERR_NQ_SEMCLEANUP (ERR_NQ_BASE+14) |
semaphore cleanup
Definition at line 111 of file NQDeclarations.h.
Referenced by CNetworkQueue::close().
#define ERR_NQ_SEMCREATE (ERR_NQ_BASE+22) |
temporary semaphore could not be created
Definition at line 127 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendRecvMsg().
#define ERR_NQ_SEMCREATERECV (ERR_NQ_BASE+9) |
receive semaphore create error
Definition at line 101 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_SEMCREATESEND (ERR_NQ_BASE+8) |
send semaphore create error
Definition at line 99 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_SEMDELETE (ERR_NQ_BASE+24) |
temporary semaphore could not be deleted
Definition at line 131 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendRecvMsg().
#define ERR_NQ_SEMNOTIFY (ERR_NQ_BASE+18) |
semaphore notification failed
Definition at line 119 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendMsgToInternal().
#define ERR_NQ_SENDQUEUE (ERR_NQ_BASE+17) |
internal send queue error
Definition at line 117 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendMsgToInternal().
#define ERR_NQ_SENDQUEUEFULL (ERR_NQ_BASE+16) |
internal send queue stuffed
Definition at line 115 of file NQDeclarations.h.
Referenced by CNetworkQueue::sendMsgTo(), CNetworkQueue::sendMsgToInternal(), SimulateLocalPeer(), and SimulateRemotePeer().
#define ERR_NQ_SOBIND (ERR_NQ_BASE+5) |
UDP socket bind unsuccessful.
Definition at line 93 of file NQDeclarations.h.
Referenced by CNetworkQueue::create(), and CNetworkQueue::getLastErrorString().
#define ERR_NQ_SOCLOSE (ERR_NQ_BASE+13) |
socket cleanup failed
Definition at line 109 of file NQDeclarations.h.
Referenced by CNetworkQueue::close(), and CNetworkQueue::getLastErrorString().
#define ERR_NQ_SOCREATE (ERR_NQ_BASE+4) |
UDP socket could not be created properly.
Definition at line 91 of file NQDeclarations.h.
Referenced by CNetworkQueue::create(), and CNetworkQueue::getLastErrorString().
#define ERR_NQ_SONONBLOCK (ERR_NQ_BASE+7) |
error setting socket to nonblocking
Definition at line 97 of file NQDeclarations.h.
Referenced by CNetworkQueue::create(), and CNetworkQueue::getLastErrorString().
#define ERR_NQ_THRDCLEANUP (ERR_NQ_BASE+12) |
thread cleanup failed
Definition at line 107 of file NQDeclarations.h.
Referenced by CNetworkQueue::close().
#define ERR_NQ_THRDCREATERECV (ERR_NQ_BASE+11) |
could not start receive thread
Definition at line 105 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_THRDCREATESEND (ERR_NQ_BASE+10) |
could not start send thread
Definition at line 103 of file NQDeclarations.h.
Referenced by CNetworkQueue::create().
#define ERR_NQ_TIMEOUT (ERR_NQ_BASE+21) |
timeout waiting for response / ack
Definition at line 125 of file NQDeclarations.h.
Referenced by CNetworkQueue::recvMsg(), CNetworkQueue::sendMsgTo(), CNetworkQueue::sendRecvMsg(), and SimulateLocalPeer().
#define ERR_PL_FULL 2 |
Data storage buffer is full.
Definition at line 33 of file NQDeclarations.h.
Referenced by CNQPeerList::add().
#define ERR_PL_INDEXNOTSET 4 |
Receive packet index is not (yet) set.
Definition at line 37 of file NQDeclarations.h.
Referenced by CNQPeerList::getReceivePacketIndex().
#define ERR_PL_LOCK 1 |
Mutal lock of a critical section failed.
Definition at line 31 of file NQDeclarations.h.
Referenced by CNQPeerList::add(), CNQPeerList::getReceivePacketIndex(), CNQPeerList::getSendPacketIndex(), CNQPeerList::incSendPacketIndex(), CNQPeerList::isAllowed(), CNQPeerList::remove(), CNQPeerList::removeAll(), and CNQPeerList::setReceivePacketIndex().
#define ERR_PL_NONE 0 |
No error.
Definition at line 29 of file NQDeclarations.h.
Referenced by CNQPeerList::add(), CNQPeerList::CNQPeerList(), CNQPeerList::getReceivePacketIndex(), CNQPeerList::getSendPacketIndex(), CNQPeerList::incSendPacketIndex(), CNQPeerList::isAllowed(), CNQPeerList::remove(), and CNQPeerList::setReceivePacketIndex().
#define ERR_PL_NOTFOUND 3 |
Element not found in buffer.
Definition at line 35 of file NQDeclarations.h.
Referenced by CNQPeerList::getReceivePacketIndex(), CNQPeerList::getSendPacketIndex(), CNQPeerList::incSendPacketIndex(), CNQPeerList::isAllowed(), CNQPeerList::remove(), and CNQPeerList::setReceivePacketIndex().
#define ERR_PQ_BADPARAM 4 |
Bad parameter passed.
Definition at line 56 of file NQDeclarations.h.
Referenced by CNQPacketQueue::find_and_remove_elem(), CNQPacketQueue::find_and_remove_passed_elem(), CNQPacketQueue::find_elem(), CNQPacketQueue::find_elem_ack_and_signal(), CNQPacketQueue::pop_front(), and CNQPacketQueue::push_back().
#define ERR_PQ_FULL 2 |
Data storage buffer is full.
Definition at line 52 of file NQDeclarations.h.
Referenced by CNQPacketQueue::push_back(), CNetworkQueue::sendMsgTo(), and CNetworkQueue::sendMsgToInternal().
#define ERR_PQ_LOCK 1 |
Mutal lock of a critical section failed.
Definition at line 50 of file NQDeclarations.h.
Referenced by CNQPacketQueue::find_and_remove_elem(), CNQPacketQueue::find_and_remove_passed_elem(), CNQPacketQueue::find_elem(), CNQPacketQueue::find_elem_ack_and_signal(), CNQPacketQueue::pop_front(), CNQPacketQueue::push_back(), CNQPacketQueue::remove_elem(), and CNQPacketQueue::setQueueMaxsize().
#define ERR_PQ_NONE 0 |
No error.
Definition at line 48 of file NQDeclarations.h.
Referenced by CNQPacketQueue::CNQPacketQueue(), CNQPacketQueue::find_and_remove_elem(), CNQPacketQueue::find_and_remove_passed_elem(), CNQPacketQueue::find_elem(), CNQPacketQueue::find_elem_ack_and_signal(), CNQPacketQueue::pop_front(), CNQPacketQueue::push_back(), CNetworkQueue::recvMsg(), CNQPacketQueue::remove_elem(), and CNQPacketQueue::setQueueMaxsize().
#define ERR_PQ_NOTFOUND 3 |
Element not found in buffer.
Definition at line 54 of file NQDeclarations.h.
Referenced by CNQPacketQueue::find_and_remove_elem(), CNQPacketQueue::find_and_remove_passed_elem(), CNQPacketQueue::find_elem(), CNQPacketQueue::find_elem_ack_and_signal(), and CNQPacketQueue::remove_elem().
#define ERR_RWQ_FULL 2 |
Data storage buffer is full.
Definition at line 69 of file NQDeclarations.h.
Referenced by CNQResponseWaitQueue::push_back().
#define ERR_RWQ_LOCK 1 |
Mutal Lock of a critical section failed.
Definition at line 67 of file NQDeclarations.h.
Referenced by CNQResponseWaitQueue::find_and_remove_elem(), CNQResponseWaitQueue::find_elem(), CNQResponseWaitQueue::push_back(), and CNQResponseWaitQueue::remove_elem().
#define ERR_RWQ_NONE 0 |
no error
Definition at line 65 of file NQDeclarations.h.
Referenced by CNQResponseWaitQueue::CNQResponseWaitQueue(), CNQResponseWaitQueue::find_and_remove_elem(), CNQResponseWaitQueue::find_elem(), CNQResponseWaitQueue::push_back(), and CNQResponseWaitQueue::remove_elem().
#define ERR_RWQ_NOTFOUND 3 |
Element not found in buffer.
Definition at line 71 of file NQDeclarations.h.
Referenced by CNQResponseWaitQueue::find_and_remove_elem(), CNQResponseWaitQueue::find_elem(), and CNQResponseWaitQueue::remove_elem().