|
struct | ThreadInfo |
| info for worker thread used to process an incoming control packet More...
|
|
|
typedef
high_resolution_clock::time_point | timePoint |
|
|
void | run () |
| Main input processing loop.
|
|
bool | inBound () |
| Check for an inbound packet and process it. More...
|
|
bool | outBound () |
| Check for an outbound packet and process it. More...
|
|
bool | bootStart () |
|
pktx | bootReceive () |
| During boot process, return next waiting packet or 0 if there is none.
|
|
void | bootSend (pktx) |
| Send packet to net manager during boot process. More...
|
|
pktx | receive () |
|
void | forward (pktx) |
|
bool | pktCheck (pktx, int) |
| Perform error checks on forest packet. More...
|
|
void | handleConnDisc (pktx) |
|
void | handleRteReply (pktx, int) |
|
void | sendRteReply (pktx, int) |
|
void | subUnsub (pktx, int) |
|
|
static const int | numThreads = 100 |
| max number in thread pool
|
|
static const int | maxReplies = 10000 |
| max # of remembered replies
|
|
Definition at line 39 of file RouterInProc.h.
void forest::RouterInProc::bootSend |
( |
pktx |
px) | |
|
|
private |
Send packet to net manager during boot process.
- Parameters
-
px | is the index of the packet to send. |
Definition at line 185 of file RouterInProc.cpp.
bool forest::RouterInProc::inBound |
( |
) | |
|
|
private |
Check for an inbound packet and process it.
- Returns
- true if a packet was processed, else false
Definition at line 206 of file RouterInProc.cpp.
bool forest::RouterInProc::outBound |
( |
) | |
|
|
private |
Check for an outbound packet and process it.
- Returns
- true if a packet was processed, else false
Definition at line 333 of file RouterInProc.cpp.
bool forest::RouterInProc::pktCheck |
( |
pktx |
px, |
|
|
int |
ctx |
|
) |
| |
|
private |
Perform error checks on forest packet.
- Parameters
-
px | is a packet index |
ctx | is the comtree index for p's comtree |
- Returns
- true if all checks pass, else false
Definition at line 461 of file RouterInProc.cpp.
Start input processor.
Start() is a static method used to initiate a separate thread.
Definition at line 40 of file RouterInProc.cpp.
The documentation for this class was generated from the following files: