Free Electron
|
Point of Entry for Net Development. More...
#include <NetHost.h>
Public Member Functions | |
virtual void | release (void) |
Internal bookkeeping function. More... | |
sp< Master > | master (void) |
Return the Master singleton. More... | |
BWORD | hasSpace (String a_space) |
Return TRUE if the space exists. More... | |
sp< StateCatalog > | accessSpace (String a_space, String a_implementation="ConnectedCatalog") |
Return a named space. More... | |
Public Member Functions inherited from fe::Handled< NetHost > | |
const hp< NetHost > & | getHandle (void) const |
Get a safe handle to this object. More... | |
Public Member Functions inherited from fe::Protectable | |
virtual I32 | protection (void) const |
virtual void | protect (void) |
virtual void | unprotect (void) |
virtual Protectable * | clone (Protectable *pInstance=NULL) |
Public Member Functions inherited from fe::Counted | |
virtual void | acquire (void) |
Increment the reference count. More... | |
virtual void | acquire (int &rCount) |
Increment the reference count (and get the count) More... | |
virtual void | abandon (void) |
Decrement the reference count. More... | |
int | count (void) const |
Return the count of references. More... | |
void | setName (const String &) |
void | trackReference (void *pReference, String what) |
void | untrackReference (void *pReference) |
void | registerRegion (void *pT, U32 bytes) |
Static Public Member Functions | |
static sp< NetHost > FE_CDECL | create (void) |
Return a NetHost singleton. More... | |
Static Public Member Functions inherited from fe::Counted | |
static String | reportTracker (void) |
static U32 | trackerCount (void) |
Static Protected Member Functions | |
static sp< SingleMaster > | singleMaster (void) |
static void | lock (void) |
static void | unlock (void) |
Static Private Attributes | |
static FE_DL_PUBLIC sp< SingleMaster > | ms_spSingleMaster |
static FE_DL_PUBLIC RecursiveMutex | ms_recursiveMutex |
Additional Inherited Members | |
Protected Member Functions inherited from fe::Handled< NetHost > | |
void | abandonHandle (void) |
Protected Member Functions inherited from fe::Counted | |
int | releaseInternal (void) |
Decrement the reference count. More... | |
void | suppressReport (void) |
Point of Entry for Net Development.
sp< StateCatalog > fe::ext::NetHost::accessSpace | ( | fe::String | a_space, |
fe::String | a_implementation = "ConnectedCatalog" |
||
) |
Return a named space.
As a StateCatalog, a space is a mutex-protected double-key dictionary with freely extensible value types.
If the space does not exist, it will be created.
An implementation string can be specified to narrow what is used to provide the space, such as a particular network framework.
References fe::Catalog::catalog().
Return a NetHost singleton.
If the HostHost does not yet exist, it is created.
BWORD fe::ext::NetHost::hasSpace | ( | fe::String | a_space | ) |
Return TRUE if the space exists.
References fe::Catalog::catalog().
|
virtual |
Internal bookkeeping function.
Do not call this method.
Reimplemented from fe::Counted.
References fe::Counted::release().