ip

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const IpAddress_TypeID = 0xeeb98f9937d32c0b

IpAddress_TypeID is the unique identifier for the type IpAddress.

View Source
const IpInterface_TypeID = 0xe32c506ee93ed6fa

IpInterface_TypeID is the unique identifier for the type IpInterface.

View Source
const IpInterface_listenTcp_Params_TypeID = 0xfd226ae4c6bd2b1e

IpInterface_listenTcp_Params_TypeID is the unique identifier for the type IpInterface_listenTcp_Params.

View Source
const IpInterface_listenTcp_Results_TypeID = 0x9381253786627ecf

IpInterface_listenTcp_Results_TypeID is the unique identifier for the type IpInterface_listenTcp_Results.

View Source
const IpInterface_listenUdp_Params_TypeID = 0xa1d8815a262abc49

IpInterface_listenUdp_Params_TypeID is the unique identifier for the type IpInterface_listenUdp_Params.

View Source
const IpInterface_listenUdp_Results_TypeID = 0xcb83a480981bc290

IpInterface_listenUdp_Results_TypeID is the unique identifier for the type IpInterface_listenUdp_Results.

View Source
const IpNetwork_PowerboxTag_Encryption_TypeID = 0xe2d94cf90fe4078d

IpNetwork_PowerboxTag_Encryption_TypeID is the unique identifier for the type IpNetwork_PowerboxTag_Encryption.

View Source
const IpNetwork_PowerboxTag_TypeID = 0xcf9e3f33950df819

IpNetwork_PowerboxTag_TypeID is the unique identifier for the type IpNetwork_PowerboxTag.

View Source
const IpNetwork_TypeID = 0xa982576b7a2a2040

IpNetwork_TypeID is the unique identifier for the type IpNetwork.

View Source
const IpNetwork_getRemoteHostByName_Params_TypeID = 0x9d5f1f6efcf7bbc4

IpNetwork_getRemoteHostByName_Params_TypeID is the unique identifier for the type IpNetwork_getRemoteHostByName_Params.

View Source
const IpNetwork_getRemoteHostByName_Results_TypeID = 0xd14a2ec2bad45f69

IpNetwork_getRemoteHostByName_Results_TypeID is the unique identifier for the type IpNetwork_getRemoteHostByName_Results.

View Source
const IpNetwork_getRemoteHost_Params_TypeID = 0xdd1700c1eb725eb4

IpNetwork_getRemoteHost_Params_TypeID is the unique identifier for the type IpNetwork_getRemoteHost_Params.

View Source
const IpNetwork_getRemoteHost_Results_TypeID = 0xb57bd5aef30c4b61

IpNetwork_getRemoteHost_Results_TypeID is the unique identifier for the type IpNetwork_getRemoteHost_Results.

View Source
const IpPortPowerboxMetadata_TypeID = 0x856e71a6a4f22bba

IpPortPowerboxMetadata_TypeID is the unique identifier for the type IpPortPowerboxMetadata.

View Source
const IpRemoteHost_TypeID = 0x905dd76b298b3130

IpRemoteHost_TypeID is the unique identifier for the type IpRemoteHost.

View Source
const IpRemoteHost_getTcpPort_Params_TypeID = 0xed10beb11e7383e9

IpRemoteHost_getTcpPort_Params_TypeID is the unique identifier for the type IpRemoteHost_getTcpPort_Params.

View Source
const IpRemoteHost_getTcpPort_Results_TypeID = 0xd77df9f44cfcde33

IpRemoteHost_getTcpPort_Results_TypeID is the unique identifier for the type IpRemoteHost_getTcpPort_Results.

View Source
const IpRemoteHost_getUdpPort_Params_TypeID = 0xb62b02486ebe26ed

IpRemoteHost_getUdpPort_Params_TypeID is the unique identifier for the type IpRemoteHost_getUdpPort_Params.

View Source
const IpRemoteHost_getUdpPort_Results_TypeID = 0xf53aa3a93e49003b

IpRemoteHost_getUdpPort_Results_TypeID is the unique identifier for the type IpRemoteHost_getUdpPort_Results.

View Source
const PersistentIpInterface_TypeID = 0xcf43ebe6a5a6f1b4

PersistentIpInterface_TypeID is the unique identifier for the type PersistentIpInterface.

View Source
const PersistentIpNetwork_TypeID = 0xa5b3215660e038f2

PersistentIpNetwork_TypeID is the unique identifier for the type PersistentIpNetwork.

View Source
const TcpPort_TypeID = 0xeab20e1af07806b4

TcpPort_TypeID is the unique identifier for the type TcpPort.

View Source
const TcpPort_connect_Params_TypeID = 0x8a60e53250a32321

TcpPort_connect_Params_TypeID is the unique identifier for the type TcpPort_connect_Params.

View Source
const TcpPort_connect_Results_TypeID = 0xcdd1222d14073645

TcpPort_connect_Results_TypeID is the unique identifier for the type TcpPort_connect_Results.

View Source
const UdpPort_TypeID = 0xc6212e1217d001ce

UdpPort_TypeID is the unique identifier for the type UdpPort.

View Source
const UdpPort_send_Params_TypeID = 0xc6ca13f7c8dbd102

UdpPort_send_Params_TypeID is the unique identifier for the type UdpPort_send_Params.

View Source
const UdpPort_send_Results_TypeID = 0x8e43fd8e213b1811

UdpPort_send_Results_TypeID is the unique identifier for the type UdpPort_send_Results.

Variables

This section is empty.

Functions

func IpInterface_Methods

func IpInterface_Methods(methods []server.Method, s IpInterface_Server) []server.Method

IpInterface_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func IpInterface_NewServer

func IpInterface_NewServer(s IpInterface_Server) *server.Server

IpInterface_NewServer creates a new Server from an implementation of IpInterface_Server.

func IpNetwork_Methods

func IpNetwork_Methods(methods []server.Method, s IpNetwork_Server) []server.Method

IpNetwork_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func IpNetwork_NewServer

func IpNetwork_NewServer(s IpNetwork_Server) *server.Server

IpNetwork_NewServer creates a new Server from an implementation of IpNetwork_Server.

func IpRemoteHost_Methods

func IpRemoteHost_Methods(methods []server.Method, s IpRemoteHost_Server) []server.Method

IpRemoteHost_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func IpRemoteHost_NewServer

func IpRemoteHost_NewServer(s IpRemoteHost_Server) *server.Server

IpRemoteHost_NewServer creates a new Server from an implementation of IpRemoteHost_Server.

func PersistentIpInterface_Methods

func PersistentIpInterface_Methods(methods []server.Method, s PersistentIpInterface_Server) []server.Method

PersistentIpInterface_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func PersistentIpInterface_NewServer

func PersistentIpInterface_NewServer(s PersistentIpInterface_Server) *server.Server

PersistentIpInterface_NewServer creates a new Server from an implementation of PersistentIpInterface_Server.

func PersistentIpNetwork_Methods

func PersistentIpNetwork_Methods(methods []server.Method, s PersistentIpNetwork_Server) []server.Method

PersistentIpNetwork_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func PersistentIpNetwork_NewServer

func PersistentIpNetwork_NewServer(s PersistentIpNetwork_Server) *server.Server

PersistentIpNetwork_NewServer creates a new Server from an implementation of PersistentIpNetwork_Server.

func TcpPort_Methods

func TcpPort_Methods(methods []server.Method, s TcpPort_Server) []server.Method

TcpPort_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func TcpPort_NewServer

func TcpPort_NewServer(s TcpPort_Server) *server.Server

TcpPort_NewServer creates a new Server from an implementation of TcpPort_Server.

func UdpPort_Methods

func UdpPort_Methods(methods []server.Method, s UdpPort_Server) []server.Method

UdpPort_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func UdpPort_NewServer

func UdpPort_NewServer(s UdpPort_Server) *server.Server

UdpPort_NewServer creates a new Server from an implementation of UdpPort_Server.

Types

type IpAddress

type IpAddress capnp.Struct

func NewIpAddress

func NewIpAddress(s *capnp.Segment) (IpAddress, error)

func NewRootIpAddress

func NewRootIpAddress(s *capnp.Segment) (IpAddress, error)

func ReadRootIpAddress

func ReadRootIpAddress(msg *capnp.Message) (IpAddress, error)

func (IpAddress) DecodeFromPtr

func (IpAddress) DecodeFromPtr(p capnp.Ptr) IpAddress

func (IpAddress) EncodeAsPtr

func (s IpAddress) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpAddress) IsValid

func (s IpAddress) IsValid() bool

func (IpAddress) Lower64

func (s IpAddress) Lower64() uint64

func (IpAddress) Message

func (s IpAddress) Message() *capnp.Message

func (IpAddress) Segment

func (s IpAddress) Segment() *capnp.Segment

func (IpAddress) SetLower64

func (s IpAddress) SetLower64(v uint64)

func (IpAddress) SetUpper64

func (s IpAddress) SetUpper64(v uint64)

func (IpAddress) String

func (s IpAddress) String() string

func (IpAddress) ToPtr

func (s IpAddress) ToPtr() capnp.Ptr

func (IpAddress) Upper64

func (s IpAddress) Upper64() uint64

type IpAddress_Future

type IpAddress_Future struct{ *capnp.Future }

IpAddress_Future is a wrapper for a IpAddress promised by a client call.

func (IpAddress_Future) Struct

func (f IpAddress_Future) Struct() (IpAddress, error)

type IpAddress_List

type IpAddress_List = capnp.StructList[IpAddress]

IpAddress_List is a list of IpAddress.

func NewIpAddress_List

func NewIpAddress_List(s *capnp.Segment, sz int32) (IpAddress_List, error)

NewIpAddress creates a new list of IpAddress.

type IpInterface

type IpInterface capnp.Client

func IpInterface_ServerToClient

func IpInterface_ServerToClient(s IpInterface_Server) IpInterface

IpInterface_ServerToClient creates a new Client from an implementation of IpInterface_Server. The caller is responsible for calling Release on the returned Client.

func (IpInterface) AddRef

func (c IpInterface) AddRef() IpInterface

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (IpInterface) DecodeFromPtr

func (IpInterface) DecodeFromPtr(p capnp.Ptr) IpInterface

func (IpInterface) EncodeAsPtr

func (c IpInterface) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpInterface) GetFlowLimiter

func (c IpInterface) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (IpInterface) IsSame

func (c IpInterface) IsSame(other IpInterface) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (IpInterface) IsValid

func (c IpInterface) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (IpInterface) ListenTcp

func (IpInterface) ListenUdp

func (IpInterface) Release

func (c IpInterface) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (IpInterface) Resolve

func (c IpInterface) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (IpInterface) SetFlowLimiter

func (c IpInterface) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (IpInterface) String

func (c IpInterface) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type IpInterface_List

type IpInterface_List = capnp.CapList[IpInterface]

IpInterface_List is a list of IpInterface.

func NewIpInterface_List

func NewIpInterface_List(s *capnp.Segment, sz int32) (IpInterface_List, error)

NewIpInterface creates a new list of IpInterface.

type IpInterface_Server

type IpInterface_Server interface {
	ListenTcp(context.Context, IpInterface_listenTcp) error

	ListenUdp(context.Context, IpInterface_listenUdp) error
}

type IpInterface_listenTcp

type IpInterface_listenTcp struct {
	*server.Call
}

IpInterface_listenTcp holds the state for a server call to IpInterface.listenTcp. See server.Call for documentation.

func (IpInterface_listenTcp) AllocResults

AllocResults allocates the results struct.

func (IpInterface_listenTcp) Args

Args returns the call's arguments.

type IpInterface_listenTcp_Params

type IpInterface_listenTcp_Params capnp.Struct

func NewIpInterface_listenTcp_Params

func NewIpInterface_listenTcp_Params(s *capnp.Segment) (IpInterface_listenTcp_Params, error)

func NewRootIpInterface_listenTcp_Params

func NewRootIpInterface_listenTcp_Params(s *capnp.Segment) (IpInterface_listenTcp_Params, error)

func ReadRootIpInterface_listenTcp_Params

func ReadRootIpInterface_listenTcp_Params(msg *capnp.Message) (IpInterface_listenTcp_Params, error)

func (IpInterface_listenTcp_Params) DecodeFromPtr

func (IpInterface_listenTcp_Params) EncodeAsPtr

func (s IpInterface_listenTcp_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpInterface_listenTcp_Params) HasPort

func (s IpInterface_listenTcp_Params) HasPort() bool

func (IpInterface_listenTcp_Params) IsValid

func (s IpInterface_listenTcp_Params) IsValid() bool

func (IpInterface_listenTcp_Params) Message

func (IpInterface_listenTcp_Params) Port

func (IpInterface_listenTcp_Params) PortNum

func (IpInterface_listenTcp_Params) Segment

func (IpInterface_listenTcp_Params) SetPort

func (IpInterface_listenTcp_Params) SetPortNum

func (s IpInterface_listenTcp_Params) SetPortNum(v uint16)

func (IpInterface_listenTcp_Params) String

func (IpInterface_listenTcp_Params) ToPtr

type IpInterface_listenTcp_Params_Future

type IpInterface_listenTcp_Params_Future struct{ *capnp.Future }

IpInterface_listenTcp_Params_Future is a wrapper for a IpInterface_listenTcp_Params promised by a client call.

func (IpInterface_listenTcp_Params_Future) Port

func (IpInterface_listenTcp_Params_Future) Struct

type IpInterface_listenTcp_Params_List

type IpInterface_listenTcp_Params_List = capnp.StructList[IpInterface_listenTcp_Params]

IpInterface_listenTcp_Params_List is a list of IpInterface_listenTcp_Params.

func NewIpInterface_listenTcp_Params_List

func NewIpInterface_listenTcp_Params_List(s *capnp.Segment, sz int32) (IpInterface_listenTcp_Params_List, error)

NewIpInterface_listenTcp_Params creates a new list of IpInterface_listenTcp_Params.

type IpInterface_listenTcp_Results

type IpInterface_listenTcp_Results capnp.Struct

func NewIpInterface_listenTcp_Results

func NewIpInterface_listenTcp_Results(s *capnp.Segment) (IpInterface_listenTcp_Results, error)

func NewRootIpInterface_listenTcp_Results

func NewRootIpInterface_listenTcp_Results(s *capnp.Segment) (IpInterface_listenTcp_Results, error)

func ReadRootIpInterface_listenTcp_Results

func ReadRootIpInterface_listenTcp_Results(msg *capnp.Message) (IpInterface_listenTcp_Results, error)

func (IpInterface_listenTcp_Results) DecodeFromPtr

func (IpInterface_listenTcp_Results) EncodeAsPtr

func (s IpInterface_listenTcp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpInterface_listenTcp_Results) Handle

func (IpInterface_listenTcp_Results) HasHandle

func (s IpInterface_listenTcp_Results) HasHandle() bool

func (IpInterface_listenTcp_Results) IsValid

func (s IpInterface_listenTcp_Results) IsValid() bool

func (IpInterface_listenTcp_Results) Message

func (IpInterface_listenTcp_Results) Segment

func (IpInterface_listenTcp_Results) SetHandle

func (IpInterface_listenTcp_Results) String

func (IpInterface_listenTcp_Results) ToPtr

type IpInterface_listenTcp_Results_Future

type IpInterface_listenTcp_Results_Future struct{ *capnp.Future }

IpInterface_listenTcp_Results_Future is a wrapper for a IpInterface_listenTcp_Results promised by a client call.

func (IpInterface_listenTcp_Results_Future) Handle

func (IpInterface_listenTcp_Results_Future) Struct

type IpInterface_listenTcp_Results_List

type IpInterface_listenTcp_Results_List = capnp.StructList[IpInterface_listenTcp_Results]

IpInterface_listenTcp_Results_List is a list of IpInterface_listenTcp_Results.

func NewIpInterface_listenTcp_Results_List

func NewIpInterface_listenTcp_Results_List(s *capnp.Segment, sz int32) (IpInterface_listenTcp_Results_List, error)

NewIpInterface_listenTcp_Results creates a new list of IpInterface_listenTcp_Results.

type IpInterface_listenUdp

type IpInterface_listenUdp struct {
	*server.Call
}

IpInterface_listenUdp holds the state for a server call to IpInterface.listenUdp. See server.Call for documentation.

func (IpInterface_listenUdp) AllocResults

AllocResults allocates the results struct.

func (IpInterface_listenUdp) Args

Args returns the call's arguments.

type IpInterface_listenUdp_Params

type IpInterface_listenUdp_Params capnp.Struct

func NewIpInterface_listenUdp_Params

func NewIpInterface_listenUdp_Params(s *capnp.Segment) (IpInterface_listenUdp_Params, error)

func NewRootIpInterface_listenUdp_Params

func NewRootIpInterface_listenUdp_Params(s *capnp.Segment) (IpInterface_listenUdp_Params, error)

func ReadRootIpInterface_listenUdp_Params

func ReadRootIpInterface_listenUdp_Params(msg *capnp.Message) (IpInterface_listenUdp_Params, error)

func (IpInterface_listenUdp_Params) DecodeFromPtr

func (IpInterface_listenUdp_Params) EncodeAsPtr

func (s IpInterface_listenUdp_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpInterface_listenUdp_Params) HasPort

func (s IpInterface_listenUdp_Params) HasPort() bool

func (IpInterface_listenUdp_Params) IsValid

func (s IpInterface_listenUdp_Params) IsValid() bool

func (IpInterface_listenUdp_Params) Message

func (IpInterface_listenUdp_Params) Port

func (IpInterface_listenUdp_Params) PortNum

func (IpInterface_listenUdp_Params) Segment

func (IpInterface_listenUdp_Params) SetPort

func (IpInterface_listenUdp_Params) SetPortNum

func (s IpInterface_listenUdp_Params) SetPortNum(v uint16)

func (IpInterface_listenUdp_Params) String

func (IpInterface_listenUdp_Params) ToPtr

type IpInterface_listenUdp_Params_Future

type IpInterface_listenUdp_Params_Future struct{ *capnp.Future }

IpInterface_listenUdp_Params_Future is a wrapper for a IpInterface_listenUdp_Params promised by a client call.

func (IpInterface_listenUdp_Params_Future) Port

func (IpInterface_listenUdp_Params_Future) Struct

type IpInterface_listenUdp_Params_List

type IpInterface_listenUdp_Params_List = capnp.StructList[IpInterface_listenUdp_Params]

IpInterface_listenUdp_Params_List is a list of IpInterface_listenUdp_Params.

func NewIpInterface_listenUdp_Params_List

func NewIpInterface_listenUdp_Params_List(s *capnp.Segment, sz int32) (IpInterface_listenUdp_Params_List, error)

NewIpInterface_listenUdp_Params creates a new list of IpInterface_listenUdp_Params.

type IpInterface_listenUdp_Results

type IpInterface_listenUdp_Results capnp.Struct

func NewIpInterface_listenUdp_Results

func NewIpInterface_listenUdp_Results(s *capnp.Segment) (IpInterface_listenUdp_Results, error)

func NewRootIpInterface_listenUdp_Results

func NewRootIpInterface_listenUdp_Results(s *capnp.Segment) (IpInterface_listenUdp_Results, error)

func ReadRootIpInterface_listenUdp_Results

func ReadRootIpInterface_listenUdp_Results(msg *capnp.Message) (IpInterface_listenUdp_Results, error)

func (IpInterface_listenUdp_Results) DecodeFromPtr

func (IpInterface_listenUdp_Results) EncodeAsPtr

func (s IpInterface_listenUdp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpInterface_listenUdp_Results) Handle

func (IpInterface_listenUdp_Results) HasHandle

func (s IpInterface_listenUdp_Results) HasHandle() bool

func (IpInterface_listenUdp_Results) IsValid

func (s IpInterface_listenUdp_Results) IsValid() bool

func (IpInterface_listenUdp_Results) Message

func (IpInterface_listenUdp_Results) Segment

func (IpInterface_listenUdp_Results) SetHandle

func (IpInterface_listenUdp_Results) String

func (IpInterface_listenUdp_Results) ToPtr

type IpInterface_listenUdp_Results_Future

type IpInterface_listenUdp_Results_Future struct{ *capnp.Future }

IpInterface_listenUdp_Results_Future is a wrapper for a IpInterface_listenUdp_Results promised by a client call.

func (IpInterface_listenUdp_Results_Future) Handle

func (IpInterface_listenUdp_Results_Future) Struct

type IpInterface_listenUdp_Results_List

type IpInterface_listenUdp_Results_List = capnp.StructList[IpInterface_listenUdp_Results]

IpInterface_listenUdp_Results_List is a list of IpInterface_listenUdp_Results.

func NewIpInterface_listenUdp_Results_List

func NewIpInterface_listenUdp_Results_List(s *capnp.Segment, sz int32) (IpInterface_listenUdp_Results_List, error)

NewIpInterface_listenUdp_Results creates a new list of IpInterface_listenUdp_Results.

type IpNetwork

type IpNetwork capnp.Client

func IpNetwork_ServerToClient

func IpNetwork_ServerToClient(s IpNetwork_Server) IpNetwork

IpNetwork_ServerToClient creates a new Client from an implementation of IpNetwork_Server. The caller is responsible for calling Release on the returned Client.

func (IpNetwork) AddRef

func (c IpNetwork) AddRef() IpNetwork

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (IpNetwork) DecodeFromPtr

func (IpNetwork) DecodeFromPtr(p capnp.Ptr) IpNetwork

func (IpNetwork) EncodeAsPtr

func (c IpNetwork) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpNetwork) GetFlowLimiter

func (c IpNetwork) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (IpNetwork) GetRemoteHost

func (IpNetwork) GetRemoteHostByName

func (IpNetwork) IsSame

func (c IpNetwork) IsSame(other IpNetwork) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (IpNetwork) IsValid

func (c IpNetwork) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (IpNetwork) Release

func (c IpNetwork) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (IpNetwork) Resolve

func (c IpNetwork) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (IpNetwork) SetFlowLimiter

func (c IpNetwork) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (IpNetwork) String

func (c IpNetwork) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type IpNetwork_List

type IpNetwork_List = capnp.CapList[IpNetwork]

IpNetwork_List is a list of IpNetwork.

func NewIpNetwork_List

func NewIpNetwork_List(s *capnp.Segment, sz int32) (IpNetwork_List, error)

NewIpNetwork creates a new list of IpNetwork.

type IpNetwork_PowerboxTag

type IpNetwork_PowerboxTag capnp.Struct

func NewIpNetwork_PowerboxTag

func NewIpNetwork_PowerboxTag(s *capnp.Segment) (IpNetwork_PowerboxTag, error)

func NewRootIpNetwork_PowerboxTag

func NewRootIpNetwork_PowerboxTag(s *capnp.Segment) (IpNetwork_PowerboxTag, error)

func ReadRootIpNetwork_PowerboxTag

func ReadRootIpNetwork_PowerboxTag(msg *capnp.Message) (IpNetwork_PowerboxTag, error)

func (IpNetwork_PowerboxTag) DecodeFromPtr

func (IpNetwork_PowerboxTag) EncodeAsPtr

func (s IpNetwork_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpNetwork_PowerboxTag) Encryption

func (IpNetwork_PowerboxTag) HasEncryption

func (s IpNetwork_PowerboxTag) HasEncryption() bool

func (IpNetwork_PowerboxTag) IsValid

func (s IpNetwork_PowerboxTag) IsValid() bool

func (IpNetwork_PowerboxTag) Message

func (s IpNetwork_PowerboxTag) Message() *capnp.Message

func (IpNetwork_PowerboxTag) NewEncryption

NewEncryption sets the encryption field to a newly allocated IpNetwork_PowerboxTag_Encryption struct, preferring placement in s's segment.

func (IpNetwork_PowerboxTag) Segment

func (s IpNetwork_PowerboxTag) Segment() *capnp.Segment

func (IpNetwork_PowerboxTag) SetEncryption

func (IpNetwork_PowerboxTag) String

func (s IpNetwork_PowerboxTag) String() string

func (IpNetwork_PowerboxTag) ToPtr

func (s IpNetwork_PowerboxTag) ToPtr() capnp.Ptr

type IpNetwork_PowerboxTag_Encryption

type IpNetwork_PowerboxTag_Encryption capnp.Struct

func NewIpNetwork_PowerboxTag_Encryption

func NewIpNetwork_PowerboxTag_Encryption(s *capnp.Segment) (IpNetwork_PowerboxTag_Encryption, error)

func NewRootIpNetwork_PowerboxTag_Encryption

func NewRootIpNetwork_PowerboxTag_Encryption(s *capnp.Segment) (IpNetwork_PowerboxTag_Encryption, error)

func ReadRootIpNetwork_PowerboxTag_Encryption

func ReadRootIpNetwork_PowerboxTag_Encryption(msg *capnp.Message) (IpNetwork_PowerboxTag_Encryption, error)

func (IpNetwork_PowerboxTag_Encryption) DecodeFromPtr

func (IpNetwork_PowerboxTag_Encryption) EncodeAsPtr

func (IpNetwork_PowerboxTag_Encryption) IsValid

func (IpNetwork_PowerboxTag_Encryption) Message

func (IpNetwork_PowerboxTag_Encryption) Segment

func (IpNetwork_PowerboxTag_Encryption) SetNone

func (IpNetwork_PowerboxTag_Encryption) SetTls

func (IpNetwork_PowerboxTag_Encryption) String

func (IpNetwork_PowerboxTag_Encryption) ToPtr

func (IpNetwork_PowerboxTag_Encryption) Which

type IpNetwork_PowerboxTag_Encryption_Future

type IpNetwork_PowerboxTag_Encryption_Future struct{ *capnp.Future }

IpNetwork_PowerboxTag_Encryption_Future is a wrapper for a IpNetwork_PowerboxTag_Encryption promised by a client call.

func (IpNetwork_PowerboxTag_Encryption_Future) Struct

type IpNetwork_PowerboxTag_Encryption_List

type IpNetwork_PowerboxTag_Encryption_List = capnp.StructList[IpNetwork_PowerboxTag_Encryption]

IpNetwork_PowerboxTag_Encryption_List is a list of IpNetwork_PowerboxTag_Encryption.

func NewIpNetwork_PowerboxTag_Encryption_List

func NewIpNetwork_PowerboxTag_Encryption_List(s *capnp.Segment, sz int32) (IpNetwork_PowerboxTag_Encryption_List, error)

NewIpNetwork_PowerboxTag_Encryption creates a new list of IpNetwork_PowerboxTag_Encryption.

type IpNetwork_PowerboxTag_Encryption_Which

type IpNetwork_PowerboxTag_Encryption_Which uint16
const (
	IpNetwork_PowerboxTag_Encryption_Which_none IpNetwork_PowerboxTag_Encryption_Which = 0
	IpNetwork_PowerboxTag_Encryption_Which_tls  IpNetwork_PowerboxTag_Encryption_Which = 1
)

func (IpNetwork_PowerboxTag_Encryption_Which) String

type IpNetwork_PowerboxTag_Future

type IpNetwork_PowerboxTag_Future struct{ *capnp.Future }

IpNetwork_PowerboxTag_Future is a wrapper for a IpNetwork_PowerboxTag promised by a client call.

func (IpNetwork_PowerboxTag_Future) Encryption

func (IpNetwork_PowerboxTag_Future) Struct

type IpNetwork_PowerboxTag_List

type IpNetwork_PowerboxTag_List = capnp.StructList[IpNetwork_PowerboxTag]

IpNetwork_PowerboxTag_List is a list of IpNetwork_PowerboxTag.

func NewIpNetwork_PowerboxTag_List

func NewIpNetwork_PowerboxTag_List(s *capnp.Segment, sz int32) (IpNetwork_PowerboxTag_List, error)

NewIpNetwork_PowerboxTag creates a new list of IpNetwork_PowerboxTag.

type IpNetwork_Server

type IpNetwork_Server interface {
	GetRemoteHost(context.Context, IpNetwork_getRemoteHost) error

	GetRemoteHostByName(context.Context, IpNetwork_getRemoteHostByName) error
}

type IpNetwork_getRemoteHost

type IpNetwork_getRemoteHost struct {
	*server.Call
}

IpNetwork_getRemoteHost holds the state for a server call to IpNetwork.getRemoteHost. See server.Call for documentation.

func (IpNetwork_getRemoteHost) AllocResults

AllocResults allocates the results struct.

func (IpNetwork_getRemoteHost) Args

Args returns the call's arguments.

type IpNetwork_getRemoteHostByName

type IpNetwork_getRemoteHostByName struct {
	*server.Call
}

IpNetwork_getRemoteHostByName holds the state for a server call to IpNetwork.getRemoteHostByName. See server.Call for documentation.

func (IpNetwork_getRemoteHostByName) AllocResults

AllocResults allocates the results struct.

func (IpNetwork_getRemoteHostByName) Args

Args returns the call's arguments.

type IpNetwork_getRemoteHostByName_Params

type IpNetwork_getRemoteHostByName_Params capnp.Struct

func NewIpNetwork_getRemoteHostByName_Params

func NewIpNetwork_getRemoteHostByName_Params(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Params, error)

func NewRootIpNetwork_getRemoteHostByName_Params

func NewRootIpNetwork_getRemoteHostByName_Params(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Params, error)

func ReadRootIpNetwork_getRemoteHostByName_Params

func ReadRootIpNetwork_getRemoteHostByName_Params(msg *capnp.Message) (IpNetwork_getRemoteHostByName_Params, error)

func (IpNetwork_getRemoteHostByName_Params) Address

func (IpNetwork_getRemoteHostByName_Params) AddressBytes

func (s IpNetwork_getRemoteHostByName_Params) AddressBytes() ([]byte, error)

func (IpNetwork_getRemoteHostByName_Params) DecodeFromPtr

func (IpNetwork_getRemoteHostByName_Params) EncodeAsPtr

func (IpNetwork_getRemoteHostByName_Params) HasAddress

func (IpNetwork_getRemoteHostByName_Params) IsValid

func (IpNetwork_getRemoteHostByName_Params) Message

func (IpNetwork_getRemoteHostByName_Params) Segment

func (IpNetwork_getRemoteHostByName_Params) SetAddress

func (IpNetwork_getRemoteHostByName_Params) String

func (IpNetwork_getRemoteHostByName_Params) ToPtr

type IpNetwork_getRemoteHostByName_Params_Future

type IpNetwork_getRemoteHostByName_Params_Future struct{ *capnp.Future }

IpNetwork_getRemoteHostByName_Params_Future is a wrapper for a IpNetwork_getRemoteHostByName_Params promised by a client call.

func (IpNetwork_getRemoteHostByName_Params_Future) Struct

type IpNetwork_getRemoteHostByName_Params_List

type IpNetwork_getRemoteHostByName_Params_List = capnp.StructList[IpNetwork_getRemoteHostByName_Params]

IpNetwork_getRemoteHostByName_Params_List is a list of IpNetwork_getRemoteHostByName_Params.

func NewIpNetwork_getRemoteHostByName_Params_List

func NewIpNetwork_getRemoteHostByName_Params_List(s *capnp.Segment, sz int32) (IpNetwork_getRemoteHostByName_Params_List, error)

NewIpNetwork_getRemoteHostByName_Params creates a new list of IpNetwork_getRemoteHostByName_Params.

type IpNetwork_getRemoteHostByName_Results

type IpNetwork_getRemoteHostByName_Results capnp.Struct

func NewIpNetwork_getRemoteHostByName_Results

func NewIpNetwork_getRemoteHostByName_Results(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Results, error)

func NewRootIpNetwork_getRemoteHostByName_Results

func NewRootIpNetwork_getRemoteHostByName_Results(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Results, error)

func ReadRootIpNetwork_getRemoteHostByName_Results

func ReadRootIpNetwork_getRemoteHostByName_Results(msg *capnp.Message) (IpNetwork_getRemoteHostByName_Results, error)

func (IpNetwork_getRemoteHostByName_Results) DecodeFromPtr

func (IpNetwork_getRemoteHostByName_Results) EncodeAsPtr

func (IpNetwork_getRemoteHostByName_Results) HasHost

func (IpNetwork_getRemoteHostByName_Results) Host

func (IpNetwork_getRemoteHostByName_Results) IsValid

func (IpNetwork_getRemoteHostByName_Results) Message

func (IpNetwork_getRemoteHostByName_Results) Segment

func (IpNetwork_getRemoteHostByName_Results) SetHost

func (IpNetwork_getRemoteHostByName_Results) String

func (IpNetwork_getRemoteHostByName_Results) ToPtr

type IpNetwork_getRemoteHostByName_Results_Future

type IpNetwork_getRemoteHostByName_Results_Future struct{ *capnp.Future }

IpNetwork_getRemoteHostByName_Results_Future is a wrapper for a IpNetwork_getRemoteHostByName_Results promised by a client call.

func (IpNetwork_getRemoteHostByName_Results_Future) Host

func (IpNetwork_getRemoteHostByName_Results_Future) Struct

type IpNetwork_getRemoteHostByName_Results_List

type IpNetwork_getRemoteHostByName_Results_List = capnp.StructList[IpNetwork_getRemoteHostByName_Results]

IpNetwork_getRemoteHostByName_Results_List is a list of IpNetwork_getRemoteHostByName_Results.

func NewIpNetwork_getRemoteHostByName_Results_List

func NewIpNetwork_getRemoteHostByName_Results_List(s *capnp.Segment, sz int32) (IpNetwork_getRemoteHostByName_Results_List, error)

NewIpNetwork_getRemoteHostByName_Results creates a new list of IpNetwork_getRemoteHostByName_Results.

type IpNetwork_getRemoteHost_Params

type IpNetwork_getRemoteHost_Params capnp.Struct

func NewIpNetwork_getRemoteHost_Params

func NewIpNetwork_getRemoteHost_Params(s *capnp.Segment) (IpNetwork_getRemoteHost_Params, error)

func NewRootIpNetwork_getRemoteHost_Params

func NewRootIpNetwork_getRemoteHost_Params(s *capnp.Segment) (IpNetwork_getRemoteHost_Params, error)

func ReadRootIpNetwork_getRemoteHost_Params

func ReadRootIpNetwork_getRemoteHost_Params(msg *capnp.Message) (IpNetwork_getRemoteHost_Params, error)

func (IpNetwork_getRemoteHost_Params) Address

func (IpNetwork_getRemoteHost_Params) DecodeFromPtr

func (IpNetwork_getRemoteHost_Params) EncodeAsPtr

func (IpNetwork_getRemoteHost_Params) HasAddress

func (s IpNetwork_getRemoteHost_Params) HasAddress() bool

func (IpNetwork_getRemoteHost_Params) IsValid

func (IpNetwork_getRemoteHost_Params) Message

func (IpNetwork_getRemoteHost_Params) NewAddress

NewAddress sets the address field to a newly allocated IpAddress struct, preferring placement in s's segment.

func (IpNetwork_getRemoteHost_Params) Segment

func (IpNetwork_getRemoteHost_Params) SetAddress

func (IpNetwork_getRemoteHost_Params) String

func (IpNetwork_getRemoteHost_Params) ToPtr

type IpNetwork_getRemoteHost_Params_Future

type IpNetwork_getRemoteHost_Params_Future struct{ *capnp.Future }

IpNetwork_getRemoteHost_Params_Future is a wrapper for a IpNetwork_getRemoteHost_Params promised by a client call.

func (IpNetwork_getRemoteHost_Params_Future) Address

func (IpNetwork_getRemoteHost_Params_Future) Struct

type IpNetwork_getRemoteHost_Params_List

type IpNetwork_getRemoteHost_Params_List = capnp.StructList[IpNetwork_getRemoteHost_Params]

IpNetwork_getRemoteHost_Params_List is a list of IpNetwork_getRemoteHost_Params.

func NewIpNetwork_getRemoteHost_Params_List

func NewIpNetwork_getRemoteHost_Params_List(s *capnp.Segment, sz int32) (IpNetwork_getRemoteHost_Params_List, error)

NewIpNetwork_getRemoteHost_Params creates a new list of IpNetwork_getRemoteHost_Params.

type IpNetwork_getRemoteHost_Results

type IpNetwork_getRemoteHost_Results capnp.Struct

func NewIpNetwork_getRemoteHost_Results

func NewIpNetwork_getRemoteHost_Results(s *capnp.Segment) (IpNetwork_getRemoteHost_Results, error)

func NewRootIpNetwork_getRemoteHost_Results

func NewRootIpNetwork_getRemoteHost_Results(s *capnp.Segment) (IpNetwork_getRemoteHost_Results, error)

func ReadRootIpNetwork_getRemoteHost_Results

func ReadRootIpNetwork_getRemoteHost_Results(msg *capnp.Message) (IpNetwork_getRemoteHost_Results, error)

func (IpNetwork_getRemoteHost_Results) DecodeFromPtr

func (IpNetwork_getRemoteHost_Results) EncodeAsPtr

func (IpNetwork_getRemoteHost_Results) HasHost

func (IpNetwork_getRemoteHost_Results) Host

func (IpNetwork_getRemoteHost_Results) IsValid

func (IpNetwork_getRemoteHost_Results) Message

func (IpNetwork_getRemoteHost_Results) Segment

func (IpNetwork_getRemoteHost_Results) SetHost

func (IpNetwork_getRemoteHost_Results) String

func (IpNetwork_getRemoteHost_Results) ToPtr

type IpNetwork_getRemoteHost_Results_Future

type IpNetwork_getRemoteHost_Results_Future struct{ *capnp.Future }

IpNetwork_getRemoteHost_Results_Future is a wrapper for a IpNetwork_getRemoteHost_Results promised by a client call.

func (IpNetwork_getRemoteHost_Results_Future) Host

func (IpNetwork_getRemoteHost_Results_Future) Struct

type IpNetwork_getRemoteHost_Results_List

type IpNetwork_getRemoteHost_Results_List = capnp.StructList[IpNetwork_getRemoteHost_Results]

IpNetwork_getRemoteHost_Results_List is a list of IpNetwork_getRemoteHost_Results.

func NewIpNetwork_getRemoteHost_Results_List

func NewIpNetwork_getRemoteHost_Results_List(s *capnp.Segment, sz int32) (IpNetwork_getRemoteHost_Results_List, error)

NewIpNetwork_getRemoteHost_Results creates a new list of IpNetwork_getRemoteHost_Results.

type IpPortPowerboxMetadata

type IpPortPowerboxMetadata capnp.Struct

func NewIpPortPowerboxMetadata

func NewIpPortPowerboxMetadata(s *capnp.Segment) (IpPortPowerboxMetadata, error)

func NewRootIpPortPowerboxMetadata

func NewRootIpPortPowerboxMetadata(s *capnp.Segment) (IpPortPowerboxMetadata, error)

func ReadRootIpPortPowerboxMetadata

func ReadRootIpPortPowerboxMetadata(msg *capnp.Message) (IpPortPowerboxMetadata, error)

func (IpPortPowerboxMetadata) DecodeFromPtr

func (IpPortPowerboxMetadata) EncodeAsPtr

func (s IpPortPowerboxMetadata) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpPortPowerboxMetadata) HasPreferredHost

func (s IpPortPowerboxMetadata) HasPreferredHost() bool

func (IpPortPowerboxMetadata) IsValid

func (s IpPortPowerboxMetadata) IsValid() bool

func (IpPortPowerboxMetadata) Message

func (s IpPortPowerboxMetadata) Message() *capnp.Message

func (IpPortPowerboxMetadata) PreferredHost

func (s IpPortPowerboxMetadata) PreferredHost() (string, error)

func (IpPortPowerboxMetadata) PreferredHostBytes

func (s IpPortPowerboxMetadata) PreferredHostBytes() ([]byte, error)

func (IpPortPowerboxMetadata) PreferredPortNum

func (s IpPortPowerboxMetadata) PreferredPortNum() uint16

func (IpPortPowerboxMetadata) Segment

func (s IpPortPowerboxMetadata) Segment() *capnp.Segment

func (IpPortPowerboxMetadata) SetPreferredHost

func (s IpPortPowerboxMetadata) SetPreferredHost(v string) error

func (IpPortPowerboxMetadata) SetPreferredPortNum

func (s IpPortPowerboxMetadata) SetPreferredPortNum(v uint16)

func (IpPortPowerboxMetadata) String

func (s IpPortPowerboxMetadata) String() string

func (IpPortPowerboxMetadata) ToPtr

func (s IpPortPowerboxMetadata) ToPtr() capnp.Ptr

type IpPortPowerboxMetadata_Future

type IpPortPowerboxMetadata_Future struct{ *capnp.Future }

IpPortPowerboxMetadata_Future is a wrapper for a IpPortPowerboxMetadata promised by a client call.

func (IpPortPowerboxMetadata_Future) Struct

type IpPortPowerboxMetadata_List

type IpPortPowerboxMetadata_List = capnp.StructList[IpPortPowerboxMetadata]

IpPortPowerboxMetadata_List is a list of IpPortPowerboxMetadata.

func NewIpPortPowerboxMetadata_List

func NewIpPortPowerboxMetadata_List(s *capnp.Segment, sz int32) (IpPortPowerboxMetadata_List, error)

NewIpPortPowerboxMetadata creates a new list of IpPortPowerboxMetadata.

type IpRemoteHost

type IpRemoteHost capnp.Client

func IpRemoteHost_ServerToClient

func IpRemoteHost_ServerToClient(s IpRemoteHost_Server) IpRemoteHost

IpRemoteHost_ServerToClient creates a new Client from an implementation of IpRemoteHost_Server. The caller is responsible for calling Release on the returned Client.

func (IpRemoteHost) AddRef

func (c IpRemoteHost) AddRef() IpRemoteHost

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (IpRemoteHost) DecodeFromPtr

func (IpRemoteHost) DecodeFromPtr(p capnp.Ptr) IpRemoteHost

func (IpRemoteHost) EncodeAsPtr

func (c IpRemoteHost) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (IpRemoteHost) GetFlowLimiter

func (c IpRemoteHost) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (IpRemoteHost) GetTcpPort

func (IpRemoteHost) GetUdpPort

func (IpRemoteHost) IsSame

func (c IpRemoteHost) IsSame(other IpRemoteHost) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (IpRemoteHost) IsValid

func (c IpRemoteHost) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (IpRemoteHost) Release

func (c IpRemoteHost) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (IpRemoteHost) Resolve

func (c IpRemoteHost) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (IpRemoteHost) SetFlowLimiter

func (c IpRemoteHost) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (IpRemoteHost) String

func (c IpRemoteHost) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type IpRemoteHost_List

type IpRemoteHost_List = capnp.CapList[IpRemoteHost]

IpRemoteHost_List is a list of IpRemoteHost.

func NewIpRemoteHost_List

func NewIpRemoteHost_List(s *capnp.Segment, sz int32) (IpRemoteHost_List, error)

NewIpRemoteHost creates a new list of IpRemoteHost.

type IpRemoteHost_Server

type IpRemoteHost_Server interface {
	GetTcpPort(context.Context, IpRemoteHost_getTcpPort) error

	GetUdpPort(context.Context, IpRemoteHost_getUdpPort) error
}

type IpRemoteHost_getTcpPort

type IpRemoteHost_getTcpPort struct {
	*server.Call
}

IpRemoteHost_getTcpPort holds the state for a server call to IpRemoteHost.getTcpPort. See server.Call for documentation.

func (IpRemoteHost_getTcpPort) AllocResults

AllocResults allocates the results struct.

func (IpRemoteHost_getTcpPort) Args

Args returns the call's arguments.

type IpRemoteHost_getTcpPort_Params

type IpRemoteHost_getTcpPort_Params capnp.Struct

func NewIpRemoteHost_getTcpPort_Params

func NewIpRemoteHost_getTcpPort_Params(s *capnp.Segment) (IpRemoteHost_getTcpPort_Params, error)

func NewRootIpRemoteHost_getTcpPort_Params

func NewRootIpRemoteHost_getTcpPort_Params(s *capnp.Segment) (IpRemoteHost_getTcpPort_Params, error)

func ReadRootIpRemoteHost_getTcpPort_Params

func ReadRootIpRemoteHost_getTcpPort_Params(msg *capnp.Message) (IpRemoteHost_getTcpPort_Params, error)

func (IpRemoteHost_getTcpPort_Params) DecodeFromPtr

func (IpRemoteHost_getTcpPort_Params) EncodeAsPtr

func (IpRemoteHost_getTcpPort_Params) IsValid

func (IpRemoteHost_getTcpPort_Params) Message

func (IpRemoteHost_getTcpPort_Params) PortNum

func (IpRemoteHost_getTcpPort_Params) Segment

func (IpRemoteHost_getTcpPort_Params) SetPortNum

func (s IpRemoteHost_getTcpPort_Params) SetPortNum(v uint16)

func (IpRemoteHost_getTcpPort_Params) String

func (IpRemoteHost_getTcpPort_Params) ToPtr

type IpRemoteHost_getTcpPort_Params_Future

type IpRemoteHost_getTcpPort_Params_Future struct{ *capnp.Future }

IpRemoteHost_getTcpPort_Params_Future is a wrapper for a IpRemoteHost_getTcpPort_Params promised by a client call.

func (IpRemoteHost_getTcpPort_Params_Future) Struct

type IpRemoteHost_getTcpPort_Params_List

type IpRemoteHost_getTcpPort_Params_List = capnp.StructList[IpRemoteHost_getTcpPort_Params]

IpRemoteHost_getTcpPort_Params_List is a list of IpRemoteHost_getTcpPort_Params.

func NewIpRemoteHost_getTcpPort_Params_List

func NewIpRemoteHost_getTcpPort_Params_List(s *capnp.Segment, sz int32) (IpRemoteHost_getTcpPort_Params_List, error)

NewIpRemoteHost_getTcpPort_Params creates a new list of IpRemoteHost_getTcpPort_Params.

type IpRemoteHost_getTcpPort_Results

type IpRemoteHost_getTcpPort_Results capnp.Struct

func NewIpRemoteHost_getTcpPort_Results

func NewIpRemoteHost_getTcpPort_Results(s *capnp.Segment) (IpRemoteHost_getTcpPort_Results, error)

func NewRootIpRemoteHost_getTcpPort_Results

func NewRootIpRemoteHost_getTcpPort_Results(s *capnp.Segment) (IpRemoteHost_getTcpPort_Results, error)

func ReadRootIpRemoteHost_getTcpPort_Results

func ReadRootIpRemoteHost_getTcpPort_Results(msg *capnp.Message) (IpRemoteHost_getTcpPort_Results, error)

func (IpRemoteHost_getTcpPort_Results) DecodeFromPtr

func (IpRemoteHost_getTcpPort_Results) EncodeAsPtr

func (IpRemoteHost_getTcpPort_Results) HasPort

func (IpRemoteHost_getTcpPort_Results) IsValid

func (IpRemoteHost_getTcpPort_Results) Message

func (IpRemoteHost_getTcpPort_Results) Port

func (IpRemoteHost_getTcpPort_Results) Segment

func (IpRemoteHost_getTcpPort_Results) SetPort

func (IpRemoteHost_getTcpPort_Results) String

func (IpRemoteHost_getTcpPort_Results) ToPtr

type IpRemoteHost_getTcpPort_Results_Future

type IpRemoteHost_getTcpPort_Results_Future struct{ *capnp.Future }

IpRemoteHost_getTcpPort_Results_Future is a wrapper for a IpRemoteHost_getTcpPort_Results promised by a client call.

func (IpRemoteHost_getTcpPort_Results_Future) Port

func (IpRemoteHost_getTcpPort_Results_Future) Struct

type IpRemoteHost_getTcpPort_Results_List

type IpRemoteHost_getTcpPort_Results_List = capnp.StructList[IpRemoteHost_getTcpPort_Results]

IpRemoteHost_getTcpPort_Results_List is a list of IpRemoteHost_getTcpPort_Results.

func NewIpRemoteHost_getTcpPort_Results_List

func NewIpRemoteHost_getTcpPort_Results_List(s *capnp.Segment, sz int32) (IpRemoteHost_getTcpPort_Results_List, error)

NewIpRemoteHost_getTcpPort_Results creates a new list of IpRemoteHost_getTcpPort_Results.

type IpRemoteHost_getUdpPort

type IpRemoteHost_getUdpPort struct {
	*server.Call
}

IpRemoteHost_getUdpPort holds the state for a server call to IpRemoteHost.getUdpPort. See server.Call for documentation.

func (IpRemoteHost_getUdpPort) AllocResults

AllocResults allocates the results struct.

func (IpRemoteHost_getUdpPort) Args

Args returns the call's arguments.

type IpRemoteHost_getUdpPort_Params

type IpRemoteHost_getUdpPort_Params capnp.Struct

func NewIpRemoteHost_getUdpPort_Params

func NewIpRemoteHost_getUdpPort_Params(s *capnp.Segment) (IpRemoteHost_getUdpPort_Params, error)

func NewRootIpRemoteHost_getUdpPort_Params

func NewRootIpRemoteHost_getUdpPort_Params(s *capnp.Segment) (IpRemoteHost_getUdpPort_Params, error)

func ReadRootIpRemoteHost_getUdpPort_Params

func ReadRootIpRemoteHost_getUdpPort_Params(msg *capnp.Message) (IpRemoteHost_getUdpPort_Params, error)

func (IpRemoteHost_getUdpPort_Params) DecodeFromPtr

func (IpRemoteHost_getUdpPort_Params) EncodeAsPtr

func (IpRemoteHost_getUdpPort_Params) IsValid

func (IpRemoteHost_getUdpPort_Params) Message

func (IpRemoteHost_getUdpPort_Params) PortNum

func (IpRemoteHost_getUdpPort_Params) Segment

func (IpRemoteHost_getUdpPort_Params) SetPortNum

func (s IpRemoteHost_getUdpPort_Params) SetPortNum(v uint16)

func (IpRemoteHost_getUdpPort_Params) String

func (IpRemoteHost_getUdpPort_Params) ToPtr

type IpRemoteHost_getUdpPort_Params_Future

type IpRemoteHost_getUdpPort_Params_Future struct{ *capnp.Future }

IpRemoteHost_getUdpPort_Params_Future is a wrapper for a IpRemoteHost_getUdpPort_Params promised by a client call.

func (IpRemoteHost_getUdpPort_Params_Future) Struct

type IpRemoteHost_getUdpPort_Params_List

type IpRemoteHost_getUdpPort_Params_List = capnp.StructList[IpRemoteHost_getUdpPort_Params]

IpRemoteHost_getUdpPort_Params_List is a list of IpRemoteHost_getUdpPort_Params.

func NewIpRemoteHost_getUdpPort_Params_List

func NewIpRemoteHost_getUdpPort_Params_List(s *capnp.Segment, sz int32) (IpRemoteHost_getUdpPort_Params_List, error)

NewIpRemoteHost_getUdpPort_Params creates a new list of IpRemoteHost_getUdpPort_Params.

type IpRemoteHost_getUdpPort_Results

type IpRemoteHost_getUdpPort_Results capnp.Struct

func NewIpRemoteHost_getUdpPort_Results

func NewIpRemoteHost_getUdpPort_Results(s *capnp.Segment) (IpRemoteHost_getUdpPort_Results, error)

func NewRootIpRemoteHost_getUdpPort_Results

func NewRootIpRemoteHost_getUdpPort_Results(s *capnp.Segment) (IpRemoteHost_getUdpPort_Results, error)

func ReadRootIpRemoteHost_getUdpPort_Results

func ReadRootIpRemoteHost_getUdpPort_Results(msg *capnp.Message) (IpRemoteHost_getUdpPort_Results, error)

func (IpRemoteHost_getUdpPort_Results) DecodeFromPtr

func (IpRemoteHost_getUdpPort_Results) EncodeAsPtr

func (IpRemoteHost_getUdpPort_Results) HasPort

func (IpRemoteHost_getUdpPort_Results) IsValid

func (IpRemoteHost_getUdpPort_Results) Message

func (IpRemoteHost_getUdpPort_Results) Port

func (IpRemoteHost_getUdpPort_Results) Segment

func (IpRemoteHost_getUdpPort_Results) SetPort

func (IpRemoteHost_getUdpPort_Results) String

func (IpRemoteHost_getUdpPort_Results) ToPtr

type IpRemoteHost_getUdpPort_Results_Future

type IpRemoteHost_getUdpPort_Results_Future struct{ *capnp.Future }

IpRemoteHost_getUdpPort_Results_Future is a wrapper for a IpRemoteHost_getUdpPort_Results promised by a client call.

func (IpRemoteHost_getUdpPort_Results_Future) Port

func (IpRemoteHost_getUdpPort_Results_Future) Struct

type IpRemoteHost_getUdpPort_Results_List

type IpRemoteHost_getUdpPort_Results_List = capnp.StructList[IpRemoteHost_getUdpPort_Results]

IpRemoteHost_getUdpPort_Results_List is a list of IpRemoteHost_getUdpPort_Results.

func NewIpRemoteHost_getUdpPort_Results_List

func NewIpRemoteHost_getUdpPort_Results_List(s *capnp.Segment, sz int32) (IpRemoteHost_getUdpPort_Results_List, error)

NewIpRemoteHost_getUdpPort_Results creates a new list of IpRemoteHost_getUdpPort_Results.

type PersistentIpInterface

type PersistentIpInterface capnp.Client

func PersistentIpInterface_ServerToClient

func PersistentIpInterface_ServerToClient(s PersistentIpInterface_Server) PersistentIpInterface

PersistentIpInterface_ServerToClient creates a new Client from an implementation of PersistentIpInterface_Server. The caller is responsible for calling Release on the returned Client.

func (PersistentIpInterface) AddRef

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (PersistentIpInterface) DecodeFromPtr

func (PersistentIpInterface) EncodeAsPtr

func (c PersistentIpInterface) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PersistentIpInterface) GetFlowLimiter

func (c PersistentIpInterface) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (PersistentIpInterface) IsSame

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (PersistentIpInterface) IsValid

func (c PersistentIpInterface) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (PersistentIpInterface) ListenTcp

func (PersistentIpInterface) ListenUdp

func (PersistentIpInterface) Release

func (c PersistentIpInterface) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (PersistentIpInterface) Resolve

func (c PersistentIpInterface) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (PersistentIpInterface) SetFlowLimiter

func (c PersistentIpInterface) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (PersistentIpInterface) String

func (c PersistentIpInterface) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type PersistentIpInterface_List

type PersistentIpInterface_List = capnp.CapList[PersistentIpInterface]

PersistentIpInterface_List is a list of PersistentIpInterface.

func NewPersistentIpInterface_List

func NewPersistentIpInterface_List(s *capnp.Segment, sz int32) (PersistentIpInterface_List, error)

NewPersistentIpInterface creates a new list of PersistentIpInterface.

type PersistentIpInterface_Server

type PersistentIpNetwork

type PersistentIpNetwork capnp.Client

func PersistentIpNetwork_ServerToClient

func PersistentIpNetwork_ServerToClient(s PersistentIpNetwork_Server) PersistentIpNetwork

PersistentIpNetwork_ServerToClient creates a new Client from an implementation of PersistentIpNetwork_Server. The caller is responsible for calling Release on the returned Client.

func (PersistentIpNetwork) AddRef

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (PersistentIpNetwork) DecodeFromPtr

func (PersistentIpNetwork) EncodeAsPtr

func (c PersistentIpNetwork) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PersistentIpNetwork) GetFlowLimiter

func (c PersistentIpNetwork) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (PersistentIpNetwork) GetRemoteHost

func (PersistentIpNetwork) GetRemoteHostByName

func (PersistentIpNetwork) IsSame

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (PersistentIpNetwork) IsValid

func (c PersistentIpNetwork) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (PersistentIpNetwork) Release

func (c PersistentIpNetwork) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (PersistentIpNetwork) Resolve

func (c PersistentIpNetwork) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (PersistentIpNetwork) SetFlowLimiter

func (c PersistentIpNetwork) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (PersistentIpNetwork) String

func (c PersistentIpNetwork) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type PersistentIpNetwork_List

type PersistentIpNetwork_List = capnp.CapList[PersistentIpNetwork]

PersistentIpNetwork_List is a list of PersistentIpNetwork.

func NewPersistentIpNetwork_List

func NewPersistentIpNetwork_List(s *capnp.Segment, sz int32) (PersistentIpNetwork_List, error)

NewPersistentIpNetwork creates a new list of PersistentIpNetwork.

type PersistentIpNetwork_Server

type TcpPort

type TcpPort capnp.Client

func TcpPort_ServerToClient

func TcpPort_ServerToClient(s TcpPort_Server) TcpPort

TcpPort_ServerToClient creates a new Client from an implementation of TcpPort_Server. The caller is responsible for calling Release on the returned Client.

func (TcpPort) AddRef

func (c TcpPort) AddRef() TcpPort

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (TcpPort) Connect

func (TcpPort) DecodeFromPtr

func (TcpPort) DecodeFromPtr(p capnp.Ptr) TcpPort

func (TcpPort) EncodeAsPtr

func (c TcpPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (TcpPort) GetFlowLimiter

func (c TcpPort) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (TcpPort) IsSame

func (c TcpPort) IsSame(other TcpPort) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (TcpPort) IsValid

func (c TcpPort) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (TcpPort) Release

func (c TcpPort) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (TcpPort) Resolve

func (c TcpPort) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (TcpPort) SetFlowLimiter

func (c TcpPort) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (TcpPort) String

func (c TcpPort) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type TcpPort_List

type TcpPort_List = capnp.CapList[TcpPort]

TcpPort_List is a list of TcpPort.

func NewTcpPort_List

func NewTcpPort_List(s *capnp.Segment, sz int32) (TcpPort_List, error)

NewTcpPort creates a new list of TcpPort.

type TcpPort_Server

type TcpPort_Server interface {
	Connect(context.Context, TcpPort_connect) error
}

type TcpPort_connect

type TcpPort_connect struct {
	*server.Call
}

TcpPort_connect holds the state for a server call to TcpPort.connect. See server.Call for documentation.

func (TcpPort_connect) AllocResults

func (c TcpPort_connect) AllocResults() (TcpPort_connect_Results, error)

AllocResults allocates the results struct.

func (TcpPort_connect) Args

Args returns the call's arguments.

type TcpPort_connect_Params

type TcpPort_connect_Params capnp.Struct

func NewRootTcpPort_connect_Params

func NewRootTcpPort_connect_Params(s *capnp.Segment) (TcpPort_connect_Params, error)

func NewTcpPort_connect_Params

func NewTcpPort_connect_Params(s *capnp.Segment) (TcpPort_connect_Params, error)

func ReadRootTcpPort_connect_Params

func ReadRootTcpPort_connect_Params(msg *capnp.Message) (TcpPort_connect_Params, error)

func (TcpPort_connect_Params) DecodeFromPtr

func (TcpPort_connect_Params) Downstream

func (s TcpPort_connect_Params) Downstream() util.ByteStream

func (TcpPort_connect_Params) EncodeAsPtr

func (s TcpPort_connect_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (TcpPort_connect_Params) HasDownstream

func (s TcpPort_connect_Params) HasDownstream() bool

func (TcpPort_connect_Params) IsValid

func (s TcpPort_connect_Params) IsValid() bool

func (TcpPort_connect_Params) Message

func (s TcpPort_connect_Params) Message() *capnp.Message

func (TcpPort_connect_Params) Segment

func (s TcpPort_connect_Params) Segment() *capnp.Segment

func (TcpPort_connect_Params) SetDownstream

func (s TcpPort_connect_Params) SetDownstream(v util.ByteStream) error

func (TcpPort_connect_Params) String

func (s TcpPort_connect_Params) String() string

func (TcpPort_connect_Params) ToPtr

func (s TcpPort_connect_Params) ToPtr() capnp.Ptr

type TcpPort_connect_Params_Future

type TcpPort_connect_Params_Future struct{ *capnp.Future }

TcpPort_connect_Params_Future is a wrapper for a TcpPort_connect_Params promised by a client call.

func (TcpPort_connect_Params_Future) Downstream

func (TcpPort_connect_Params_Future) Struct

type TcpPort_connect_Params_List

type TcpPort_connect_Params_List = capnp.StructList[TcpPort_connect_Params]

TcpPort_connect_Params_List is a list of TcpPort_connect_Params.

func NewTcpPort_connect_Params_List

func NewTcpPort_connect_Params_List(s *capnp.Segment, sz int32) (TcpPort_connect_Params_List, error)

NewTcpPort_connect_Params creates a new list of TcpPort_connect_Params.

type TcpPort_connect_Results

type TcpPort_connect_Results capnp.Struct

func NewRootTcpPort_connect_Results

func NewRootTcpPort_connect_Results(s *capnp.Segment) (TcpPort_connect_Results, error)

func NewTcpPort_connect_Results

func NewTcpPort_connect_Results(s *capnp.Segment) (TcpPort_connect_Results, error)

func ReadRootTcpPort_connect_Results

func ReadRootTcpPort_connect_Results(msg *capnp.Message) (TcpPort_connect_Results, error)

func (TcpPort_connect_Results) DecodeFromPtr

func (TcpPort_connect_Results) EncodeAsPtr

func (s TcpPort_connect_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (TcpPort_connect_Results) HasUpstream

func (s TcpPort_connect_Results) HasUpstream() bool

func (TcpPort_connect_Results) IsValid

func (s TcpPort_connect_Results) IsValid() bool

func (TcpPort_connect_Results) Message

func (s TcpPort_connect_Results) Message() *capnp.Message

func (TcpPort_connect_Results) Segment

func (s TcpPort_connect_Results) Segment() *capnp.Segment

func (TcpPort_connect_Results) SetUpstream

func (s TcpPort_connect_Results) SetUpstream(v util.ByteStream) error

func (TcpPort_connect_Results) String

func (s TcpPort_connect_Results) String() string

func (TcpPort_connect_Results) ToPtr

func (s TcpPort_connect_Results) ToPtr() capnp.Ptr

func (TcpPort_connect_Results) Upstream

type TcpPort_connect_Results_Future

type TcpPort_connect_Results_Future struct{ *capnp.Future }

TcpPort_connect_Results_Future is a wrapper for a TcpPort_connect_Results promised by a client call.

func (TcpPort_connect_Results_Future) Struct

func (TcpPort_connect_Results_Future) Upstream

type TcpPort_connect_Results_List

type TcpPort_connect_Results_List = capnp.StructList[TcpPort_connect_Results]

TcpPort_connect_Results_List is a list of TcpPort_connect_Results.

func NewTcpPort_connect_Results_List

func NewTcpPort_connect_Results_List(s *capnp.Segment, sz int32) (TcpPort_connect_Results_List, error)

NewTcpPort_connect_Results creates a new list of TcpPort_connect_Results.

type UdpPort

type UdpPort capnp.Client

func UdpPort_ServerToClient

func UdpPort_ServerToClient(s UdpPort_Server) UdpPort

UdpPort_ServerToClient creates a new Client from an implementation of UdpPort_Server. The caller is responsible for calling Release on the returned Client.

func (UdpPort) AddRef

func (c UdpPort) AddRef() UdpPort

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (UdpPort) DecodeFromPtr

func (UdpPort) DecodeFromPtr(p capnp.Ptr) UdpPort

func (UdpPort) EncodeAsPtr

func (c UdpPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UdpPort) GetFlowLimiter

func (c UdpPort) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (UdpPort) IsSame

func (c UdpPort) IsSame(other UdpPort) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (UdpPort) IsValid

func (c UdpPort) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (UdpPort) Release

func (c UdpPort) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (UdpPort) Resolve

func (c UdpPort) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (UdpPort) Send

func (UdpPort) SetFlowLimiter

func (c UdpPort) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (UdpPort) String

func (c UdpPort) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type UdpPort_List

type UdpPort_List = capnp.CapList[UdpPort]

UdpPort_List is a list of UdpPort.

func NewUdpPort_List

func NewUdpPort_List(s *capnp.Segment, sz int32) (UdpPort_List, error)

NewUdpPort creates a new list of UdpPort.

type UdpPort_Server

type UdpPort_Server interface {
	Send(context.Context, UdpPort_send) error
}

type UdpPort_send

type UdpPort_send struct {
	*server.Call
}

UdpPort_send holds the state for a server call to UdpPort.send. See server.Call for documentation.

func (UdpPort_send) AllocResults

func (c UdpPort_send) AllocResults() (UdpPort_send_Results, error)

AllocResults allocates the results struct.

func (UdpPort_send) Args

Args returns the call's arguments.

type UdpPort_send_Params

type UdpPort_send_Params capnp.Struct

func NewRootUdpPort_send_Params

func NewRootUdpPort_send_Params(s *capnp.Segment) (UdpPort_send_Params, error)

func NewUdpPort_send_Params

func NewUdpPort_send_Params(s *capnp.Segment) (UdpPort_send_Params, error)

func ReadRootUdpPort_send_Params

func ReadRootUdpPort_send_Params(msg *capnp.Message) (UdpPort_send_Params, error)

func (UdpPort_send_Params) DecodeFromPtr

func (UdpPort_send_Params) EncodeAsPtr

func (s UdpPort_send_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UdpPort_send_Params) HasMsg

func (s UdpPort_send_Params) HasMsg() bool

func (UdpPort_send_Params) HasReturnPort

func (s UdpPort_send_Params) HasReturnPort() bool

func (UdpPort_send_Params) IsValid

func (s UdpPort_send_Params) IsValid() bool

func (UdpPort_send_Params) Message

func (s UdpPort_send_Params) Message() *capnp.Message

func (UdpPort_send_Params) Msg

func (s UdpPort_send_Params) Msg() ([]byte, error)

func (UdpPort_send_Params) ReturnPort

func (s UdpPort_send_Params) ReturnPort() UdpPort

func (UdpPort_send_Params) Segment

func (s UdpPort_send_Params) Segment() *capnp.Segment

func (UdpPort_send_Params) SetMsg

func (s UdpPort_send_Params) SetMsg(v []byte) error

func (UdpPort_send_Params) SetReturnPort

func (s UdpPort_send_Params) SetReturnPort(v UdpPort) error

func (UdpPort_send_Params) String

func (s UdpPort_send_Params) String() string

func (UdpPort_send_Params) ToPtr

func (s UdpPort_send_Params) ToPtr() capnp.Ptr

type UdpPort_send_Params_Future

type UdpPort_send_Params_Future struct{ *capnp.Future }

UdpPort_send_Params_Future is a wrapper for a UdpPort_send_Params promised by a client call.

func (UdpPort_send_Params_Future) ReturnPort

func (p UdpPort_send_Params_Future) ReturnPort() UdpPort

func (UdpPort_send_Params_Future) Struct

type UdpPort_send_Params_List

type UdpPort_send_Params_List = capnp.StructList[UdpPort_send_Params]

UdpPort_send_Params_List is a list of UdpPort_send_Params.

func NewUdpPort_send_Params_List

func NewUdpPort_send_Params_List(s *capnp.Segment, sz int32) (UdpPort_send_Params_List, error)

NewUdpPort_send_Params creates a new list of UdpPort_send_Params.

type UdpPort_send_Results

type UdpPort_send_Results capnp.Struct

func NewRootUdpPort_send_Results

func NewRootUdpPort_send_Results(s *capnp.Segment) (UdpPort_send_Results, error)

func NewUdpPort_send_Results

func NewUdpPort_send_Results(s *capnp.Segment) (UdpPort_send_Results, error)

func ReadRootUdpPort_send_Results

func ReadRootUdpPort_send_Results(msg *capnp.Message) (UdpPort_send_Results, error)

func (UdpPort_send_Results) DecodeFromPtr

func (UdpPort_send_Results) EncodeAsPtr

func (s UdpPort_send_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UdpPort_send_Results) IsValid

func (s UdpPort_send_Results) IsValid() bool

func (UdpPort_send_Results) Message

func (s UdpPort_send_Results) Message() *capnp.Message

func (UdpPort_send_Results) Segment

func (s UdpPort_send_Results) Segment() *capnp.Segment

func (UdpPort_send_Results) String

func (s UdpPort_send_Results) String() string

func (UdpPort_send_Results) ToPtr

func (s UdpPort_send_Results) ToPtr() capnp.Ptr

type UdpPort_send_Results_Future

type UdpPort_send_Results_Future struct{ *capnp.Future }

UdpPort_send_Results_Future is a wrapper for a UdpPort_send_Results promised by a client call.

func (UdpPort_send_Results_Future) Struct

type UdpPort_send_Results_List

type UdpPort_send_Results_List = capnp.StructList[UdpPort_send_Results]

UdpPort_send_Results_List is a list of UdpPort_send_Results.

func NewUdpPort_send_Results_List

func NewUdpPort_send_Results_List(s *capnp.Segment, sz int32) (UdpPort_send_Results_List, error)

NewUdpPort_send_Results creates a new list of UdpPort_send_Results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL