Constructor and Description |
---|
DataServer(InetSocketAddress address,
WorkerStorage workerStorage)
Create a data server with direct access to worker storage.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the data server.
|
boolean |
isClosed() |
void |
run() |
public DataServer(InetSocketAddress address, WorkerStorage workerStorage)
address
- The address of the data server.workerStorage
- The handler of the directly accessed worker storage.public void close() throws IOException
IOException
public boolean isClosed()
Copyright © 2014. All rights reserved.