PROTOCOLS
HostOvernet
Defined in fuchsia.overnet/overnet.fidl
Protocol spoken by the host implementation to access various sub-interfaces.
ConnectMeshController
Request
Name | Type |
---|---|
svc |
request<MeshController>
|
ConnectServiceConsumer
Request
Name | Type |
---|---|
svc |
request<ServiceConsumer>
|
ConnectServicePublisher
Request
Name | Type |
---|---|
svc |
request<ServicePublisher>
|
MeshController
Defined in fuchsia.overnet/overnet.fidl
Interfaces applicable to controlling an Overnet mesh
AttachSocketLink
Attach a socket as a new link.
Request
Name | Type |
---|---|
socket |
handle<socket>
|
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
Name | Type |
---|---|
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
Name | Type |
---|
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
service_name |
string[255]
|
provider |
ServiceProvider
|
STRUCTS
Peer
Defined in fuchsia.overnet/overnet.fidl
A Peer
describes one device on the Overnet mesh.
Name | Type | Description | Default |
---|---|---|---|
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 |
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.
Ordinal | Name | Type | Description |
---|---|---|---|
1 | peer |
fuchsia.overnet.protocol/NodeId
|
The peer address initiating this connection. |