Constructor and Description |
---|
DataServer(InetSocketAddress address,
WorkerStorage workerStorage)
Create a data server with direct access to worker storage.
|
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 © 2013. All rights reserved.