Differences Between: [Versions 310 and 311] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
An object to represent lots of information about an RPC-peer machine
Author: | Donal McMullan donal@catalyst.net.nz |
License: | http://www.gnu.org/copyleft/gpl.html GNU Public License |
Version: | 0.0.1 |
File Size: | 309 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
mnet_peer:: (15 methods):
bootstrap()
delete()
count_live_sessions()
delete_expired_sessions()
delete_all_sessions()
check_common_name()
check_credentials()
commit()
touch()
set_name()
set_applicationid()
set_wwwroot()
set_id()
populate()
get_public_key()
bootstrap($wwwroot, $pubkey, $application) X-Ref |
No description |
delete() X-Ref |
No description |
count_live_sessions() X-Ref |
No description |
delete_expired_sessions() X-Ref |
No description |
delete_all_sessions() X-Ref |
No description |
check_common_name($key) X-Ref |
No description |
check_credentials($key) X-Ref |
No description |
commit() X-Ref |
No description |
touch() X-Ref |
No description |
set_name($newname) X-Ref |
No description |
set_applicationid($applicationid) X-Ref |
No description |
set_wwwroot($wwwroot) X-Ref |
Load information from db about an mnet peer into this object's properties param: string $wwwroot - address of peer whose details we want to load return: bool - indication of success or failure |
set_id($id) X-Ref |
No description |
populate($hostinfo) X-Ref |
Several methods can be used to get an 'mnet_host' record. They all then send it to this private method to populate this object's attributes. param: object $hostinfo A database record from the mnet_host table return: void |
get_public_key() X-Ref |
No description |