Google is committed to advancing racial equity for Black communities. See how.

fuchsia.overnet

PROTOCOLS

HostOvernet

Defined in fuchsia.overnet/overnet.fidl

Protocol spoken by the host implementation to access various sub-interfaces.

ConnectMeshController

Request

NameType
svc request<MeshController>

ConnectServiceConsumer

Request

NameType
svc request<ServiceConsumer>

ConnectServicePublisher

Request

NameType
svc request<ServicePublisher>

MeshController

Defined in fuchsia.overnet/overnet.fidl

Interfaces applicable to controlling an Overnet mesh

Attach a socket as a new link. Bad socket options will result in the channel being closed.

Request

NameType
socket handle<socket>
options fuchsia.overnet.protocol/SocketLinkOptions

ServiceConsumer

Defined in fuchsia.overnet/overnet.fidl

Interfaces applicable to consuming services from other devices

ConnectToService

Connect chan to some external service on node with name service_name.

Request

NameType
node fuchsia.overnet.protocol/NodeId
service_name string[255]
chan handle<channel>

ListPeers

Returns a list of all peers that are connected to this Overnet. If this list has not been updated since the last call to this method, it waits until new data is available. Concurrent calls to ListPeers will result in channel closure.

Request

NameType

Response

NameType
peers vector<Peer>

ServiceProvider

Defined in fuchsia.overnet/overnet.fidl

A ServiceProvider is a factory for one service.

ConnectToService

Connect chan to the service (called in response to Overnet.ConnectToService). info provides additional data about the connection request.

Request

NameType
chan handle<channel>
info ConnectionInfo

ServicePublisher

Defined in fuchsia.overnet/overnet.fidl

Interfaces applicable to sharing services with ServiceConsumer's

PublishService

Register a new service to be exported by Overnet. If an existing service has the same service_name, it's replaced by this service.

Request

NameType
service_name string[255]
provider ServiceProvider

STRUCTS

Peer

Defined in fuchsia.overnet/overnet.fidl

A Peer describes one device on the Overnet mesh.

NameTypeDescriptionDefault
id fuchsia.overnet.protocol/NodeId

The address of the peer on the Overnet mesh.

No default
is_self bool

A special peer is returned for this device, and is marked with is_self true.

No default
description fuchsia.overnet.protocol/PeerDescription

A description of the peer (includes, for example, a service list).

No default

TABLES

ConnectionInfo

Defined in fuchsia.overnet/overnet.fidl

Information provided to a ServiceProvider about an incoming connection.

OrdinalNameTypeDescription
1 peer fuchsia.overnet.protocol/NodeId

The peer address initiating this connection.