class
#include <eckit/web/JavaService.h>
JavaService
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
#include <eckit/net/NetService.h>
Returns | hostname to which this server is answering |
---|
int eckit:: JavaService:: port() const
#include <eckit/net/NetService.h>
Returns | port to which this server is answering |
---|
void eckit:: JavaService:: run() override
#include <eckit/net/NetService.h>
void eckit:: JavaService:: stop()
#include <eckit/thread/Thread.h>