Free Electron
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Private Attributes | List of all members
fe::ext::NetHost Class Reference

Point of Entry for Net Development. More...

#include <NetHost.h>

Inheritance diagram for fe::ext::NetHost:
Inheritance graph
[legend]

Public Member Functions

virtual void release (void)
 Internal bookkeeping function. More...
 
sp< Mastermaster (void)
 Return the Master singleton. More...
 
BWORD hasSpace (String a_space)
 Return TRUE if the space exists. More...
 
sp< StateCatalogaccessSpace (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 Protectableclone (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< SingleMastersingleMaster (void)
 
static void lock (void)
 
static void unlock (void)
 

Static Private Attributes

static FE_DL_PUBLIC sp< SingleMasterms_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)
 

Detailed Description

Point of Entry for Net Development.

Member Function Documentation

◆ accessSpace()

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().

◆ create()

sp< NetHost > fe::ext::NetHost::create ( void  )
static

Return a NetHost singleton.

If the HostHost does not yet exist, it is created.

◆ hasSpace()

BWORD fe::ext::NetHost::hasSpace ( fe::String  a_space)

Return TRUE if the space exists.

References fe::Catalog::catalog().

◆ master()

sp<Master> fe::ext::NetHost::master ( void  )
inline

Return the Master singleton.

A Master will have been created before you get the reference to a NetHost.

◆ release()

void fe::ext::NetHost::release ( void  )
virtual

Internal bookkeeping function.

Do not call this method.

Reimplemented from fe::Counted.

References fe::Counted::release().


The documentation for this class was generated from the following files: