 |
Edinburgh Speech Tools
2.4-release
|
|
35 #ifndef __EST_SERVER_H__
36 #define __EST_SERVER_H__
38 #include "EST_Features.h"
39 #include "EST_ServiceTable.h"
100 virtual void process(
void)=0;
127 void init(ostream *trace);
191 int port(
void)
const;
198 EST_connect_status
connect(
void);
205 virtual bool parse_command(
const EST_String command,
212 const Args &arguments);
214 virtual bool parse_result(
const EST_String resultString,
222 const Args &arguments,
const EST_String name(void) const
Name of server.
const EST_String hostname(void) const
Domain name of the server.
For off a process for each client.
EST_connect_status connect(void)
Connect to the server.
Mode
What type of server is this.
Answer requests from several clients, as requests arrive.
Client end of the connection.
Multi-threaded (not implemented)
int port(void) const
Port number.
const EST_String servername(void) const
Domain name or IP number.
virtual ~EST_Server()
Destroy the connection.
const EST_String type(void) const
Type of server.
const EST_String address(void) const
Dotted numeric IP address.
EST_connect_status disconnect(void)
Disconnect.
Answer one client at a time.
bool connected(void)
Are we connected at the moment?
EST_Server(EST_String name, EST_String type)
Create a server connection by name, defaulting to "fringe", the default server name.