A service record. More...
#include <include/EST_ServiceTable.h>
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... | |
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.
EST_ServiceTable::Entry::Entry | ( | ) |
Create an empty entry.
EST_ServiceTable::Entry::operator EST_String | ( | ) | const |
A suitable human readable name for the entry.
|
friend |
Print in human readable form.
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.