public class ServerEndpoint extends Object implements net.openhft.chronicle.core.io.Closeable
| Constructor and Description |
|---|
ServerEndpoint(AssetTree assetTree) |
ServerEndpoint(int port,
AssetTree assetTree) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getPort() |
net.openhft.chronicle.network.AcceptorEventHandler |
start(int port,
AssetTree asset) |
void |
stop() |
public ServerEndpoint(AssetTree assetTree) throws IOException
IOExceptionpublic ServerEndpoint(int port,
AssetTree assetTree)
throws IOException
IOException@Nullable
public net.openhft.chronicle.network.AcceptorEventHandler start(int port,
@NotNull
AssetTree asset)
throws IOException
IOExceptionpublic int getPort()
throws IOException
IOExceptionpublic void stop()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.