public class IdscpServer
extends java.lang.Object
Simply call start() and use the registered SocketListener to
handling incoming WebSocket connections.
Make sure to check handleAttestationResult() and getMetaData() to
assess trustworthiness of the remote endpoint and the self description returned by it.
| Constructor and Description |
|---|
IdscpServer() |
| Modifier and Type | Method and Description |
|---|---|
IdscpServer |
addServlet(java.lang.String basePath)
Adds a ServletContextHandler to a (possibly running) server.
|
IdscpServer |
config(ServerConfiguration config) |
org.eclipse.jetty.server.Server |
getServer() |
boolean |
isRunning() |
IdscpServer |
setSocketListener(SocketListener socketListener) |
IdscpServer |
start() |
public IdscpServer config(ServerConfiguration config)
public IdscpServer setSocketListener(SocketListener socketListener)
public IdscpServer start()
public IdscpServer addServlet(java.lang.String basePath)
public org.eclipse.jetty.server.Server getServer()
public boolean isRunning()