In file ../include/EST_Server.h:

class EST_Server

Client-server interface.

Inheritance:


Public Classes

[more]enum Mode
What type of server is this

Public Methods

[more] Client end constructors.

[more] EST_Server (EST_String name, EST_String type)
Create a server connection by name, defaulting to "fringe", the default server name
[more] EST_Server (EST_String hostname, int port)
Create a server connection by explicitly saying where to connect to

[more]virtual ~EST_Server ()
Destroy the connection
[more] information about the server.

[more]const EST_String name (void) const
Name of server
[more]const EST_String type (void) const
Type of server
[more]const EST_String hostname (void) const
Domain name of the server
[more]const EST_String address (void) const
Dotted numeric IP address
[more]const EST_String servername (void) const
Domain name or IP number
[more]int port (void) const
Port number

[more] connection management

[more]EST_connect_status connect (void)
Connect to the server
[more]bool connected (void)
Are we connected at the moment?
[more]EST_connect_status disconnect (void)
Disconnect


Documentation

Client-server interface.

An EST_Server object represents a server, it can be at either end of a network connection. That is, a server process has an EST_Server object representing it's wait-dispatch-answer loop, while a client process has an EST_Server object which represents the server process.

oenum Mode
What type of server is this

o sm_unknown
Bizzare state

o sm_client
Client end of the connetion

o sm_sequential
Answer one client at a time

o sm_interleaved
Answer requests from several clients, as requests arrive

o sm_fork
For off a process for each client

o sm_threded
Muti-threaded (not implemented)

o Client end constructors.

o EST_Server(EST_String name, EST_String type)
Create a server connection by name, defaulting to "fringe", the default server name

o EST_Server(EST_String hostname, int port)
Create a server connection by explicitly saying where to connect to

o Server end constructors

ovirtual ~EST_Server()
Destroy the connection

o information about the server.

oconst EST_String name(void) const
Name of server

oconst EST_String type(void) const
Type of server

oconst EST_String hostname(void) const
Domain name of the server

oconst EST_String address(void) const
Dotted numeric IP address

oconst EST_String servername(void) const
Domain name or IP number

oint port(void) const
Port number

o connection management

oEST_connect_status connect(void)
Connect to the server

obool connected(void)
Are we connected at the moment?

oEST_connect_status disconnect(void)
Disconnect


Direct child classes:
EST_FringeServer
Author:
Richard Caley <rjc@cstr.ed.ac.uk>
Version:

Alphabetic index HTML hierarchy of classes or Java


This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk