public class GrpcServer extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static GrpcServer |
create(io.grpc.Server server) |
void |
start() |
public static GrpcServer create(io.grpc.Server server)
public void start()
throws IOException
IOException - if unable to bindpublic void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionCopyright © 2018 Grakn Labs Ltd. All rights reserved.