public class ClusterMessagingProtocolServer extends Object implements net.kuujo.copycat.spi.protocol.ProtocolServer
| Constructor and Description |
|---|
ClusterMessagingProtocolServer(org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
CompletableFuture<Void> |
listen() |
void |
requestHandler(net.kuujo.copycat.protocol.RequestHandler handler) |
public ClusterMessagingProtocolServer(org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator)
public void requestHandler(net.kuujo.copycat.protocol.RequestHandler handler)
requestHandler in interface net.kuujo.copycat.spi.protocol.ProtocolServerpublic CompletableFuture<Void> listen()
listen in interface net.kuujo.copycat.spi.protocol.ProtocolServerpublic CompletableFuture<Void> close()
close in interface net.kuujo.copycat.spi.protocol.ProtocolServerCopyright © 2014. All rights reserved.