public class CopycatTransport extends Object implements io.atomix.catalyst.transport.Transport
transport for Copycat interactions
built on top of MessagingService.CopycatTransportServer,
CopycatTransportClient| Modifier and Type | Class and Description |
|---|---|
static class |
CopycatTransport.Mode
Transport Mode.
|
| Constructor and Description |
|---|
CopycatTransport(CopycatTransport.Mode mode,
org.onosproject.cluster.PartitionId partitionId,
org.onosproject.store.cluster.messaging.MessagingService messagingService) |
| Modifier and Type | Method and Description |
|---|---|
io.atomix.catalyst.transport.Client |
client() |
io.atomix.catalyst.transport.Server |
server() |
static io.atomix.catalyst.transport.Address |
toAddress(org.onosproject.store.cluster.messaging.Endpoint endpoint)
Maps
endpoint to address. |
static org.onosproject.store.cluster.messaging.Endpoint |
toEndpoint(io.atomix.catalyst.transport.Address address)
Maps
address to endpoint. |
public CopycatTransport(CopycatTransport.Mode mode, org.onosproject.cluster.PartitionId partitionId, org.onosproject.store.cluster.messaging.MessagingService messagingService)
public io.atomix.catalyst.transport.Client client()
client in interface io.atomix.catalyst.transport.Transportpublic io.atomix.catalyst.transport.Server server()
server in interface io.atomix.catalyst.transport.Transportpublic static org.onosproject.store.cluster.messaging.Endpoint toEndpoint(io.atomix.catalyst.transport.Address address)
address to endpoint.address - addresspublic static io.atomix.catalyst.transport.Address toAddress(org.onosproject.store.cluster.messaging.Endpoint endpoint)
endpoint to address.endpoint - end pointCopyright © 2016. All rights reserved.