#include <localsite.hh>
Inheritance diagram for LocalSite:
It is to one of these where you will attach all of your own local objects. It listens on a single TCP socket for incoming connections from remote sites (this connection process is called site peering).
Definition at line 41 of file localsite.hh.
|
Definition at line 88 of file localsite.hh. |
|
constructor
Definition at line 44 of file localsite.cc. |
|
destructor
Definition at line 52 of file localsite.cc. |
|
Definition at line 165 of file localsite.cc. |
|
|
Definition at line 940 of file localsite.cc. |
|
Definition at line 827 of file localsite.cc. |
|
Definition at line 457 of file localsite.cc. Referenced by runSchedule(). |
|
Create a new local metaobject, with the supplied access control (ar defoult site AC if 0).
Definition at line 859 of file localsite.cc. |
|
Create a new local metaobject, with the supplied access control (ar defoult site AC if 0).
Definition at line 875 of file localsite.cc. |
|
Definition at line 871 of file localsite.cc. |
|
Definition at line 896 of file localsite.cc. Referenced by createMetaObject(), COD::readCOD(), and sendMessage(). |
|
Definition at line 239 of file localsite.cc. Referenced by runSchedule(). |
|
Definition at line 846 of file localsite.cc. Referenced by LocalMetaObject::addType(), and createMetaObject(). |
|
|
|
Definition at line 956 of file localsite.cc. Referenced by runSchedule(), and unlockNotificationFlush(). |
|
Maps a received anti-spoof ID to the one sent to that site.
Definition at line 221 of file localsite.hh. Referenced by sendMessage(). |
|
Reimplemented from LocalMetaObject. Definition at line 160 of file localsite.hh. |
|
Get the select wait time.
Definition at line 821 of file localsite.cc. |
|
Definition at line 875 of file localsite.cc. Referenced by LocalMetaObject::addType(). |
|
Reimplemented from LocalMetaObject. Definition at line 976 of file localsite.cc. |
|
Definition at line 156 of file localsite.hh. |
|
Definition at line 945 of file localsite.cc. |
|
Definition at line 934 of file localsite.cc. |
|
Definition at line 209 of file localsite.cc. Referenced by doCallbacks(). |
|
Reimplemented from LocalMetaObject. Definition at line 988 of file localsite.cc. |
|
Definition at line 923 of file localsite.cc. |
|
Definition at line 835 of file localsite.cc. |
|
Remove the peering relationship with a remote site.
Definition at line 439 of file localsite.cc. |
|
Execute the current schedule.
Definition at line 300 of file localsite.cc. |
|
Schedule a message block for delivery. Special message types like include will be processed.
Definition at line 56 of file localsite.cc. |
|
Reimplemented from LocalMetaObject. Definition at line 475 of file localsite.cc. |
|
Reimplemented from LocalMetaObject. Definition at line 492 of file localsite.cc. Referenced by runSchedule(), and VOS::LocalSocketSite::sendMessage(). |
|
Maps a received anti-spoof ID to the one sent to that site.
Definition at line 218 of file localsite.hh. Referenced by sendMessage(). |
|
Reimplemented from LocalMetaObject. Definition at line 982 of file localsite.cc. |
|
Definition at line 1018 of file localsite.cc. |
|
When select() is called to test file descriptors, this sets maximum amount of time to wait before returning if there is no data available. This primarily applies to LocalSite::flushIncomingBuffers().
Definition at line 810 of file localsite.cc. |
|
Definition at line 805 of file localsite.cc. |
|
Definition at line 994 of file localsite.cc. |
|
Definition at line 950 of file localsite.cc. |
|
Definition at line 481 of file localsite.cc. Referenced by sendMessage(). |
|
|
|
Definition at line 104 of file localsite.hh. |
|
Definition at line 98 of file localsite.hh. Referenced by doCallbacks(). |
|
Definition at line 96 of file localsite.hh. Referenced by doCallbacks(), and removeCallback(). |
|
Definition at line 99 of file localsite.hh. Referenced by doCallbacks(), and removeCallback(). |
|
Definition at line 97 of file localsite.hh. Referenced by addCallback(), doCallbacks(), and removeCallback(). |
|
Definition at line 56 of file localsite.hh. Referenced by removeRemotePeer(). |
|
Definition at line 82 of file localsite.hh. Referenced by runSchedule(). |
|
Definition at line 118 of file localsite.hh. Referenced by sendMessage(). |
|
Definition at line 101 of file localsite.hh. Referenced by addNotification(), and flushNotifications(). |
|
Definition at line 102 of file localsite.hh. Referenced by flushNotifications(), lockNotificationFlush(), and unlockNotificationFlush(). |
|
List of remote sites we are peers with.
Definition at line 78 of file localsite.hh. Referenced by removeRemotePeer(), and sendMessage(). |
|
Definition at line 75 of file localsite.hh. Referenced by removeRemotePeer(). |
|
Definition at line 73 of file localsite.hh. Referenced by removeRemotePeer(). |
|
The following three data structures are used to buffer changes to peerSites when we have an active iterator using peerSites. This is to avoid invalidating the iterator (ye gods that was an obnoxious bug to track down.) The alternative would have to be to make a complete copy of the peerSites deque every time we want to copy it (ewww...)
Definition at line 71 of file localsite.hh. |
|
Definition at line 72 of file localsite.hh. |
|
Definition at line 116 of file localsite.hh. Referenced by runSchedule(), and sendMessage(). |
|
Definition at line 115 of file localsite.hh. Referenced by sendMessage(). |
|
Definition at line 86 of file localsite.hh. Referenced by addPrioritizedNonce(), removePrioritizedNonce(), and runSchedule(). |
|
Definition at line 84 of file localsite.hh. Referenced by getTimeoutOnSelect(), and setTimeoutOnSelect(). |
|
The current message schedule.
Definition at line 81 of file localsite.hh. Referenced by checkScheduleHoldsSite(), runSchedule(), scheduleMessageBlock(), and takeOverMessages(). |