A global table of known services. Used for fringe and festival servers. More...
#include <include/EST_ServiceTable.h>
Classes | |
class | Entry |
A service record. More... | |
Static Public Member Functions | |
static const Entry & | lookup (const EST_String name, const EST_String type) |
static const Entry & | create (const EST_String name, const EST_String type, int socket) |
Finding What Services Are Available. | |
Servers maintain a per-user file which lists the processes which are running in server mode by name. These functions read that table. | |
static void | read_table (void) |
Read the users default table. ~/.estServices More... | |
static void | read_table (EST_String socketsFileName) |
Read a specific table. More... | |
static void | write_table (void) |
Write the users default table. ~/.estServices More... | |
static void | write_table (EST_String socketsFileName) |
Write a specific table. More... | |
static void | list (ostream &s, const EST_String type) |
List the table to given stream. More... | |
static void | names (EST_TList< EST_String > &names, const EST_String type="") |
Return a list of server names. More... | |
A global table of known services. Used for fringe and festival servers.
Definition at line 48 of file EST_ServiceTable.h.
|
static |
Read the users default table. ~/.estServices
|
static |
Read a specific table.
|
static |
Write the users default table. ~/.estServices
|
static |
Write a specific table.
|
static |
List the table to given stream.
|
static |
Return a list of server names.
|
static |
Return the entry for the server with the given name and type. If no such entry is found a dummy entry with a port of 0 is returned.
|
static |
Create an entry for a server of the given name and type which is listening on the given socket.