eckit::JavaService class

Base classes

class NetService

Constructors, destructors, conversion operators

JavaService(int port)
~JavaService()

Public functions

auto hostname() const -> std::string
auto port() const -> int
void run() override
void stop()

Private functions

auto newUser(eckit::net::TCPSocket& socket) const -> eckit::net::NetUser* virtual
auto name() const -> std::string virtual

Function documentation

std::string eckit::JavaService::hostname() const

Returns hostname to which this server is answering

int eckit::JavaService::port() const

Returns port to which this server is answering

void eckit::JavaService::run() override

void eckit::JavaService::stop()