public class ServerEndpoint extends Object implements Closeable
| Constructor and Description |
|---|
ServerEndpoint(byte localIdentifier,
ChronicleEngine chronicleEngine,
Class<? extends net.openhft.chronicle.wire.Wire> wireClass) |
ServerEndpoint(int port,
byte localIdentifier,
ChronicleEngine chronicleEngine,
Class<? extends net.openhft.chronicle.wire.Wire> wireClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getPort() |
net.openhft.chronicle.network.AcceptorEventHandler |
start(int port) |
void |
stop() |
public ServerEndpoint(byte localIdentifier,
@NotNull
ChronicleEngine chronicleEngine,
@NotNull
Class<? extends net.openhft.chronicle.wire.Wire> wireClass)
throws IOException
IOExceptionpublic ServerEndpoint(int port,
byte localIdentifier,
@NotNull
ChronicleEngine chronicleEngine,
@NotNull
Class<? extends net.openhft.chronicle.wire.Wire> wireClass)
throws IOException
IOExceptionpublic net.openhft.chronicle.network.AcceptorEventHandler start(int port)
throws IOException
IOExceptionpublic int getPort()
throws IOException
IOExceptionpublic void stop()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015. All rights reserved.