Edinburgh Speech Tools  2.1-release
EST_ServiceTable::Entry Class Reference

A service record. More...

#include <include/EST_ServiceTable.h>

Collaboration diagram for EST_ServiceTable::Entry:

Public Member Functions

 Entry ()
 Create an empty entry. More...
 
 operator EST_String () const
 A suitable human readable name for the entry. More...
 

Public Attributes

EST_String name
 Name of the server. More...
 
EST_String type
 Type of server (eg `fringe') More...
 
EST_String hostname
 Human readable hostname. More...
 
EST_String address
 Numeric IP address (###.###.###.###) More...
 
EST_String cookie
 A random string to send as authorisation. More...
 
int port
 TCP port number. More...
 

Friends

bool operator== (const Entry &a, const Entry &b)
 All entries are taken to be different. More...
 
ostream & operator<< (ostream &s, const Entry &a)
 Print in human readable form. More...
 

Detailed Description

A service record.

This is returned by service lookup operations, it contains enough information to contact the server and authenticate yourself.

Definition at line 58 of file EST_ServiceTable.h.

Constructor & Destructor Documentation

EST_ServiceTable::Entry::Entry ( )

Create an empty entry.

Member Function Documentation

EST_ServiceTable::Entry::operator EST_String ( ) const

A suitable human readable name for the entry.

Friends And Related Function Documentation

bool operator== ( const Entry a,
const Entry b 
)
friend

All entries are taken to be different.

ostream& operator<< ( ostream &  s,
const Entry a 
)
friend

Print in human readable form.

Member Data Documentation

EST_String EST_ServiceTable::Entry::name

Name of the server.

Definition at line 62 of file EST_ServiceTable.h.

EST_String EST_ServiceTable::Entry::type

Type of server (eg `fringe')

Definition at line 64 of file EST_ServiceTable.h.

EST_String EST_ServiceTable::Entry::hostname

Human readable hostname.

Definition at line 66 of file EST_ServiceTable.h.

EST_String EST_ServiceTable::Entry::address

Numeric IP address (###.###.###.###)

Definition at line 68 of file EST_ServiceTable.h.

EST_String EST_ServiceTable::Entry::cookie

A random string to send as authorisation.

Definition at line 70 of file EST_ServiceTable.h.

int EST_ServiceTable::Entry::port

TCP port number.

Definition at line 72 of file EST_ServiceTable.h.


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