Documentation ¶
Index ¶
- Constants
- func IpInterface_Methods(methods []server.Method, s IpInterface_Server) []server.Method
- func IpInterface_NewServer(s IpInterface_Server) *server.Server
- func IpNetwork_Methods(methods []server.Method, s IpNetwork_Server) []server.Method
- func IpNetwork_NewServer(s IpNetwork_Server) *server.Server
- func IpRemoteHost_Methods(methods []server.Method, s IpRemoteHost_Server) []server.Method
- func IpRemoteHost_NewServer(s IpRemoteHost_Server) *server.Server
- func PersistentIpInterface_Methods(methods []server.Method, s PersistentIpInterface_Server) []server.Method
- func PersistentIpInterface_NewServer(s PersistentIpInterface_Server) *server.Server
- func PersistentIpNetwork_Methods(methods []server.Method, s PersistentIpNetwork_Server) []server.Method
- func PersistentIpNetwork_NewServer(s PersistentIpNetwork_Server) *server.Server
- func TcpPort_Methods(methods []server.Method, s TcpPort_Server) []server.Method
- func TcpPort_NewServer(s TcpPort_Server) *server.Server
- func UdpPort_Methods(methods []server.Method, s UdpPort_Server) []server.Method
- func UdpPort_NewServer(s UdpPort_Server) *server.Server
- type IpAddress
- func (IpAddress) DecodeFromPtr(p capnp.Ptr) IpAddress
- func (s IpAddress) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpAddress) IsValid() bool
- func (s IpAddress) Lower64() uint64
- func (s IpAddress) Message() *capnp.Message
- func (s IpAddress) Segment() *capnp.Segment
- func (s IpAddress) SetLower64(v uint64)
- func (s IpAddress) SetUpper64(v uint64)
- func (s IpAddress) String() string
- func (s IpAddress) ToPtr() capnp.Ptr
- func (s IpAddress) Upper64() uint64
- type IpAddress_Future
- type IpAddress_List
- type IpInterface
- func (c IpInterface) AddRef() IpInterface
- func (IpInterface) DecodeFromPtr(p capnp.Ptr) IpInterface
- func (c IpInterface) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c IpInterface) GetFlowLimiter() fc.FlowLimiter
- func (c IpInterface) IsSame(other IpInterface) bool
- func (c IpInterface) IsValid() bool
- func (c IpInterface) ListenTcp(ctx context.Context, params func(IpInterface_listenTcp_Params) error) (IpInterface_listenTcp_Results_Future, capnp.ReleaseFunc)
- func (c IpInterface) ListenUdp(ctx context.Context, params func(IpInterface_listenUdp_Params) error) (IpInterface_listenUdp_Results_Future, capnp.ReleaseFunc)
- func (c IpInterface) Release()
- func (c IpInterface) Resolve(ctx context.Context) error
- func (c IpInterface) SetFlowLimiter(lim fc.FlowLimiter)
- func (c IpInterface) String() string
- type IpInterface_List
- type IpInterface_Server
- type IpInterface_listenTcp
- type IpInterface_listenTcp_Params
- func (IpInterface_listenTcp_Params) DecodeFromPtr(p capnp.Ptr) IpInterface_listenTcp_Params
- func (s IpInterface_listenTcp_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpInterface_listenTcp_Params) HasPort() bool
- func (s IpInterface_listenTcp_Params) IsValid() bool
- func (s IpInterface_listenTcp_Params) Message() *capnp.Message
- func (s IpInterface_listenTcp_Params) Port() TcpPort
- func (s IpInterface_listenTcp_Params) PortNum() uint16
- func (s IpInterface_listenTcp_Params) Segment() *capnp.Segment
- func (s IpInterface_listenTcp_Params) SetPort(v TcpPort) error
- func (s IpInterface_listenTcp_Params) SetPortNum(v uint16)
- func (s IpInterface_listenTcp_Params) String() string
- func (s IpInterface_listenTcp_Params) ToPtr() capnp.Ptr
- type IpInterface_listenTcp_Params_Future
- type IpInterface_listenTcp_Params_List
- type IpInterface_listenTcp_Results
- func (IpInterface_listenTcp_Results) DecodeFromPtr(p capnp.Ptr) IpInterface_listenTcp_Results
- func (s IpInterface_listenTcp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpInterface_listenTcp_Results) Handle() util.Handle
- func (s IpInterface_listenTcp_Results) HasHandle() bool
- func (s IpInterface_listenTcp_Results) IsValid() bool
- func (s IpInterface_listenTcp_Results) Message() *capnp.Message
- func (s IpInterface_listenTcp_Results) Segment() *capnp.Segment
- func (s IpInterface_listenTcp_Results) SetHandle(v util.Handle) error
- func (s IpInterface_listenTcp_Results) String() string
- func (s IpInterface_listenTcp_Results) ToPtr() capnp.Ptr
- type IpInterface_listenTcp_Results_Future
- type IpInterface_listenTcp_Results_List
- type IpInterface_listenUdp
- type IpInterface_listenUdp_Params
- func (IpInterface_listenUdp_Params) DecodeFromPtr(p capnp.Ptr) IpInterface_listenUdp_Params
- func (s IpInterface_listenUdp_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpInterface_listenUdp_Params) HasPort() bool
- func (s IpInterface_listenUdp_Params) IsValid() bool
- func (s IpInterface_listenUdp_Params) Message() *capnp.Message
- func (s IpInterface_listenUdp_Params) Port() UdpPort
- func (s IpInterface_listenUdp_Params) PortNum() uint16
- func (s IpInterface_listenUdp_Params) Segment() *capnp.Segment
- func (s IpInterface_listenUdp_Params) SetPort(v UdpPort) error
- func (s IpInterface_listenUdp_Params) SetPortNum(v uint16)
- func (s IpInterface_listenUdp_Params) String() string
- func (s IpInterface_listenUdp_Params) ToPtr() capnp.Ptr
- type IpInterface_listenUdp_Params_Future
- type IpInterface_listenUdp_Params_List
- type IpInterface_listenUdp_Results
- func (IpInterface_listenUdp_Results) DecodeFromPtr(p capnp.Ptr) IpInterface_listenUdp_Results
- func (s IpInterface_listenUdp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpInterface_listenUdp_Results) Handle() util.Handle
- func (s IpInterface_listenUdp_Results) HasHandle() bool
- func (s IpInterface_listenUdp_Results) IsValid() bool
- func (s IpInterface_listenUdp_Results) Message() *capnp.Message
- func (s IpInterface_listenUdp_Results) Segment() *capnp.Segment
- func (s IpInterface_listenUdp_Results) SetHandle(v util.Handle) error
- func (s IpInterface_listenUdp_Results) String() string
- func (s IpInterface_listenUdp_Results) ToPtr() capnp.Ptr
- type IpInterface_listenUdp_Results_Future
- type IpInterface_listenUdp_Results_List
- type IpNetwork
- func (c IpNetwork) AddRef() IpNetwork
- func (IpNetwork) DecodeFromPtr(p capnp.Ptr) IpNetwork
- func (c IpNetwork) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c IpNetwork) GetFlowLimiter() fc.FlowLimiter
- func (c IpNetwork) GetRemoteHost(ctx context.Context, params func(IpNetwork_getRemoteHost_Params) error) (IpNetwork_getRemoteHost_Results_Future, capnp.ReleaseFunc)
- func (c IpNetwork) GetRemoteHostByName(ctx context.Context, params func(IpNetwork_getRemoteHostByName_Params) error) (IpNetwork_getRemoteHostByName_Results_Future, capnp.ReleaseFunc)
- func (c IpNetwork) IsSame(other IpNetwork) bool
- func (c IpNetwork) IsValid() bool
- func (c IpNetwork) Release()
- func (c IpNetwork) Resolve(ctx context.Context) error
- func (c IpNetwork) SetFlowLimiter(lim fc.FlowLimiter)
- func (c IpNetwork) String() string
- type IpNetwork_List
- type IpNetwork_PowerboxTag
- func (IpNetwork_PowerboxTag) DecodeFromPtr(p capnp.Ptr) IpNetwork_PowerboxTag
- func (s IpNetwork_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_PowerboxTag) Encryption() (IpNetwork_PowerboxTag_Encryption, error)
- func (s IpNetwork_PowerboxTag) HasEncryption() bool
- func (s IpNetwork_PowerboxTag) IsValid() bool
- func (s IpNetwork_PowerboxTag) Message() *capnp.Message
- func (s IpNetwork_PowerboxTag) NewEncryption() (IpNetwork_PowerboxTag_Encryption, error)
- func (s IpNetwork_PowerboxTag) Segment() *capnp.Segment
- func (s IpNetwork_PowerboxTag) SetEncryption(v IpNetwork_PowerboxTag_Encryption) error
- func (s IpNetwork_PowerboxTag) String() string
- func (s IpNetwork_PowerboxTag) ToPtr() capnp.Ptr
- type IpNetwork_PowerboxTag_Encryption
- func NewIpNetwork_PowerboxTag_Encryption(s *capnp.Segment) (IpNetwork_PowerboxTag_Encryption, error)
- func NewRootIpNetwork_PowerboxTag_Encryption(s *capnp.Segment) (IpNetwork_PowerboxTag_Encryption, error)
- func ReadRootIpNetwork_PowerboxTag_Encryption(msg *capnp.Message) (IpNetwork_PowerboxTag_Encryption, error)
- func (IpNetwork_PowerboxTag_Encryption) DecodeFromPtr(p capnp.Ptr) IpNetwork_PowerboxTag_Encryption
- func (s IpNetwork_PowerboxTag_Encryption) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_PowerboxTag_Encryption) IsValid() bool
- func (s IpNetwork_PowerboxTag_Encryption) Message() *capnp.Message
- func (s IpNetwork_PowerboxTag_Encryption) Segment() *capnp.Segment
- func (s IpNetwork_PowerboxTag_Encryption) SetNone()
- func (s IpNetwork_PowerboxTag_Encryption) SetTls()
- func (s IpNetwork_PowerboxTag_Encryption) String() string
- func (s IpNetwork_PowerboxTag_Encryption) ToPtr() capnp.Ptr
- func (s IpNetwork_PowerboxTag_Encryption) Which() IpNetwork_PowerboxTag_Encryption_Which
- type IpNetwork_PowerboxTag_Encryption_Future
- type IpNetwork_PowerboxTag_Encryption_List
- type IpNetwork_PowerboxTag_Encryption_Which
- type IpNetwork_PowerboxTag_Future
- type IpNetwork_PowerboxTag_List
- type IpNetwork_Server
- type IpNetwork_getRemoteHost
- type IpNetwork_getRemoteHostByName
- type IpNetwork_getRemoteHostByName_Params
- func NewIpNetwork_getRemoteHostByName_Params(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Params, error)
- func NewRootIpNetwork_getRemoteHostByName_Params(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Params, error)
- func ReadRootIpNetwork_getRemoteHostByName_Params(msg *capnp.Message) (IpNetwork_getRemoteHostByName_Params, error)
- func (s IpNetwork_getRemoteHostByName_Params) Address() (string, error)
- func (s IpNetwork_getRemoteHostByName_Params) AddressBytes() ([]byte, error)
- func (IpNetwork_getRemoteHostByName_Params) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHostByName_Params
- func (s IpNetwork_getRemoteHostByName_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_getRemoteHostByName_Params) HasAddress() bool
- func (s IpNetwork_getRemoteHostByName_Params) IsValid() bool
- func (s IpNetwork_getRemoteHostByName_Params) Message() *capnp.Message
- func (s IpNetwork_getRemoteHostByName_Params) Segment() *capnp.Segment
- func (s IpNetwork_getRemoteHostByName_Params) SetAddress(v string) error
- func (s IpNetwork_getRemoteHostByName_Params) String() string
- func (s IpNetwork_getRemoteHostByName_Params) ToPtr() capnp.Ptr
- type IpNetwork_getRemoteHostByName_Params_Future
- type IpNetwork_getRemoteHostByName_Params_List
- type IpNetwork_getRemoteHostByName_Results
- func NewIpNetwork_getRemoteHostByName_Results(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Results, error)
- func NewRootIpNetwork_getRemoteHostByName_Results(s *capnp.Segment) (IpNetwork_getRemoteHostByName_Results, error)
- func ReadRootIpNetwork_getRemoteHostByName_Results(msg *capnp.Message) (IpNetwork_getRemoteHostByName_Results, error)
- func (IpNetwork_getRemoteHostByName_Results) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHostByName_Results
- func (s IpNetwork_getRemoteHostByName_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_getRemoteHostByName_Results) HasHost() bool
- func (s IpNetwork_getRemoteHostByName_Results) Host() IpRemoteHost
- func (s IpNetwork_getRemoteHostByName_Results) IsValid() bool
- func (s IpNetwork_getRemoteHostByName_Results) Message() *capnp.Message
- func (s IpNetwork_getRemoteHostByName_Results) Segment() *capnp.Segment
- func (s IpNetwork_getRemoteHostByName_Results) SetHost(v IpRemoteHost) error
- func (s IpNetwork_getRemoteHostByName_Results) String() string
- func (s IpNetwork_getRemoteHostByName_Results) ToPtr() capnp.Ptr
- type IpNetwork_getRemoteHostByName_Results_Future
- type IpNetwork_getRemoteHostByName_Results_List
- type IpNetwork_getRemoteHost_Params
- func NewIpNetwork_getRemoteHost_Params(s *capnp.Segment) (IpNetwork_getRemoteHost_Params, error)
- func NewRootIpNetwork_getRemoteHost_Params(s *capnp.Segment) (IpNetwork_getRemoteHost_Params, error)
- func ReadRootIpNetwork_getRemoteHost_Params(msg *capnp.Message) (IpNetwork_getRemoteHost_Params, error)
- func (s IpNetwork_getRemoteHost_Params) Address() (IpAddress, error)
- func (IpNetwork_getRemoteHost_Params) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHost_Params
- func (s IpNetwork_getRemoteHost_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_getRemoteHost_Params) HasAddress() bool
- func (s IpNetwork_getRemoteHost_Params) IsValid() bool
- func (s IpNetwork_getRemoteHost_Params) Message() *capnp.Message
- func (s IpNetwork_getRemoteHost_Params) NewAddress() (IpAddress, error)
- func (s IpNetwork_getRemoteHost_Params) Segment() *capnp.Segment
- func (s IpNetwork_getRemoteHost_Params) SetAddress(v IpAddress) error
- func (s IpNetwork_getRemoteHost_Params) String() string
- func (s IpNetwork_getRemoteHost_Params) ToPtr() capnp.Ptr
- type IpNetwork_getRemoteHost_Params_Future
- type IpNetwork_getRemoteHost_Params_List
- type IpNetwork_getRemoteHost_Results
- func NewIpNetwork_getRemoteHost_Results(s *capnp.Segment) (IpNetwork_getRemoteHost_Results, error)
- func NewRootIpNetwork_getRemoteHost_Results(s *capnp.Segment) (IpNetwork_getRemoteHost_Results, error)
- func ReadRootIpNetwork_getRemoteHost_Results(msg *capnp.Message) (IpNetwork_getRemoteHost_Results, error)
- func (IpNetwork_getRemoteHost_Results) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHost_Results
- func (s IpNetwork_getRemoteHost_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpNetwork_getRemoteHost_Results) HasHost() bool
- func (s IpNetwork_getRemoteHost_Results) Host() IpRemoteHost
- func (s IpNetwork_getRemoteHost_Results) IsValid() bool
- func (s IpNetwork_getRemoteHost_Results) Message() *capnp.Message
- func (s IpNetwork_getRemoteHost_Results) Segment() *capnp.Segment
- func (s IpNetwork_getRemoteHost_Results) SetHost(v IpRemoteHost) error
- func (s IpNetwork_getRemoteHost_Results) String() string
- func (s IpNetwork_getRemoteHost_Results) ToPtr() capnp.Ptr
- type IpNetwork_getRemoteHost_Results_Future
- type IpNetwork_getRemoteHost_Results_List
- type IpPortPowerboxMetadata
- func (IpPortPowerboxMetadata) DecodeFromPtr(p capnp.Ptr) IpPortPowerboxMetadata
- func (s IpPortPowerboxMetadata) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpPortPowerboxMetadata) HasPreferredHost() bool
- func (s IpPortPowerboxMetadata) IsValid() bool
- func (s IpPortPowerboxMetadata) Message() *capnp.Message
- func (s IpPortPowerboxMetadata) PreferredHost() (string, error)
- func (s IpPortPowerboxMetadata) PreferredHostBytes() ([]byte, error)
- func (s IpPortPowerboxMetadata) PreferredPortNum() uint16
- func (s IpPortPowerboxMetadata) Segment() *capnp.Segment
- func (s IpPortPowerboxMetadata) SetPreferredHost(v string) error
- func (s IpPortPowerboxMetadata) SetPreferredPortNum(v uint16)
- func (s IpPortPowerboxMetadata) String() string
- func (s IpPortPowerboxMetadata) ToPtr() capnp.Ptr
- type IpPortPowerboxMetadata_Future
- type IpPortPowerboxMetadata_List
- type IpRemoteHost
- func (c IpRemoteHost) AddRef() IpRemoteHost
- func (IpRemoteHost) DecodeFromPtr(p capnp.Ptr) IpRemoteHost
- func (c IpRemoteHost) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c IpRemoteHost) GetFlowLimiter() fc.FlowLimiter
- func (c IpRemoteHost) GetTcpPort(ctx context.Context, params func(IpRemoteHost_getTcpPort_Params) error) (IpRemoteHost_getTcpPort_Results_Future, capnp.ReleaseFunc)
- func (c IpRemoteHost) GetUdpPort(ctx context.Context, params func(IpRemoteHost_getUdpPort_Params) error) (IpRemoteHost_getUdpPort_Results_Future, capnp.ReleaseFunc)
- func (c IpRemoteHost) IsSame(other IpRemoteHost) bool
- func (c IpRemoteHost) IsValid() bool
- func (c IpRemoteHost) Release()
- func (c IpRemoteHost) Resolve(ctx context.Context) error
- func (c IpRemoteHost) SetFlowLimiter(lim fc.FlowLimiter)
- func (c IpRemoteHost) String() string
- type IpRemoteHost_List
- type IpRemoteHost_Server
- type IpRemoteHost_getTcpPort
- type IpRemoteHost_getTcpPort_Params
- func NewIpRemoteHost_getTcpPort_Params(s *capnp.Segment) (IpRemoteHost_getTcpPort_Params, error)
- func NewRootIpRemoteHost_getTcpPort_Params(s *capnp.Segment) (IpRemoteHost_getTcpPort_Params, error)
- func ReadRootIpRemoteHost_getTcpPort_Params(msg *capnp.Message) (IpRemoteHost_getTcpPort_Params, error)
- func (IpRemoteHost_getTcpPort_Params) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getTcpPort_Params
- func (s IpRemoteHost_getTcpPort_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpRemoteHost_getTcpPort_Params) IsValid() bool
- func (s IpRemoteHost_getTcpPort_Params) Message() *capnp.Message
- func (s IpRemoteHost_getTcpPort_Params) PortNum() uint16
- func (s IpRemoteHost_getTcpPort_Params) Segment() *capnp.Segment
- func (s IpRemoteHost_getTcpPort_Params) SetPortNum(v uint16)
- func (s IpRemoteHost_getTcpPort_Params) String() string
- func (s IpRemoteHost_getTcpPort_Params) ToPtr() capnp.Ptr
- type IpRemoteHost_getTcpPort_Params_Future
- type IpRemoteHost_getTcpPort_Params_List
- type IpRemoteHost_getTcpPort_Results
- func NewIpRemoteHost_getTcpPort_Results(s *capnp.Segment) (IpRemoteHost_getTcpPort_Results, error)
- func NewRootIpRemoteHost_getTcpPort_Results(s *capnp.Segment) (IpRemoteHost_getTcpPort_Results, error)
- func ReadRootIpRemoteHost_getTcpPort_Results(msg *capnp.Message) (IpRemoteHost_getTcpPort_Results, error)
- func (IpRemoteHost_getTcpPort_Results) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getTcpPort_Results
- func (s IpRemoteHost_getTcpPort_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpRemoteHost_getTcpPort_Results) HasPort() bool
- func (s IpRemoteHost_getTcpPort_Results) IsValid() bool
- func (s IpRemoteHost_getTcpPort_Results) Message() *capnp.Message
- func (s IpRemoteHost_getTcpPort_Results) Port() TcpPort
- func (s IpRemoteHost_getTcpPort_Results) Segment() *capnp.Segment
- func (s IpRemoteHost_getTcpPort_Results) SetPort(v TcpPort) error
- func (s IpRemoteHost_getTcpPort_Results) String() string
- func (s IpRemoteHost_getTcpPort_Results) ToPtr() capnp.Ptr
- type IpRemoteHost_getTcpPort_Results_Future
- type IpRemoteHost_getTcpPort_Results_List
- type IpRemoteHost_getUdpPort
- type IpRemoteHost_getUdpPort_Params
- func NewIpRemoteHost_getUdpPort_Params(s *capnp.Segment) (IpRemoteHost_getUdpPort_Params, error)
- func NewRootIpRemoteHost_getUdpPort_Params(s *capnp.Segment) (IpRemoteHost_getUdpPort_Params, error)
- func ReadRootIpRemoteHost_getUdpPort_Params(msg *capnp.Message) (IpRemoteHost_getUdpPort_Params, error)
- func (IpRemoteHost_getUdpPort_Params) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getUdpPort_Params
- func (s IpRemoteHost_getUdpPort_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpRemoteHost_getUdpPort_Params) IsValid() bool
- func (s IpRemoteHost_getUdpPort_Params) Message() *capnp.Message
- func (s IpRemoteHost_getUdpPort_Params) PortNum() uint16
- func (s IpRemoteHost_getUdpPort_Params) Segment() *capnp.Segment
- func (s IpRemoteHost_getUdpPort_Params) SetPortNum(v uint16)
- func (s IpRemoteHost_getUdpPort_Params) String() string
- func (s IpRemoteHost_getUdpPort_Params) ToPtr() capnp.Ptr
- type IpRemoteHost_getUdpPort_Params_Future
- type IpRemoteHost_getUdpPort_Params_List
- type IpRemoteHost_getUdpPort_Results
- func NewIpRemoteHost_getUdpPort_Results(s *capnp.Segment) (IpRemoteHost_getUdpPort_Results, error)
- func NewRootIpRemoteHost_getUdpPort_Results(s *capnp.Segment) (IpRemoteHost_getUdpPort_Results, error)
- func ReadRootIpRemoteHost_getUdpPort_Results(msg *capnp.Message) (IpRemoteHost_getUdpPort_Results, error)
- func (IpRemoteHost_getUdpPort_Results) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getUdpPort_Results
- func (s IpRemoteHost_getUdpPort_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s IpRemoteHost_getUdpPort_Results) HasPort() bool
- func (s IpRemoteHost_getUdpPort_Results) IsValid() bool
- func (s IpRemoteHost_getUdpPort_Results) Message() *capnp.Message
- func (s IpRemoteHost_getUdpPort_Results) Port() UdpPort
- func (s IpRemoteHost_getUdpPort_Results) Segment() *capnp.Segment
- func (s IpRemoteHost_getUdpPort_Results) SetPort(v UdpPort) error
- func (s IpRemoteHost_getUdpPort_Results) String() string
- func (s IpRemoteHost_getUdpPort_Results) ToPtr() capnp.Ptr
- type IpRemoteHost_getUdpPort_Results_Future
- type IpRemoteHost_getUdpPort_Results_List
- type PersistentIpInterface
- func (c PersistentIpInterface) AddRef() PersistentIpInterface
- func (c PersistentIpInterface) AddRequirements(ctx context.Context, ...) (supervisor.SystemPersistent_addRequirements_Results_Future, capnp.ReleaseFunc)
- func (PersistentIpInterface) DecodeFromPtr(p capnp.Ptr) PersistentIpInterface
- func (c PersistentIpInterface) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c PersistentIpInterface) GetFlowLimiter() fc.FlowLimiter
- func (c PersistentIpInterface) IsSame(other PersistentIpInterface) bool
- func (c PersistentIpInterface) IsValid() bool
- func (c PersistentIpInterface) ListenTcp(ctx context.Context, params func(IpInterface_listenTcp_Params) error) (IpInterface_listenTcp_Results_Future, capnp.ReleaseFunc)
- func (c PersistentIpInterface) ListenUdp(ctx context.Context, params func(IpInterface_listenUdp_Params) error) (IpInterface_listenUdp_Results_Future, capnp.ReleaseFunc)
- func (c PersistentIpInterface) Release()
- func (c PersistentIpInterface) Resolve(ctx context.Context) error
- func (c PersistentIpInterface) Save(ctx context.Context, params func(persistent.Persistent_SaveParams) error) (persistent.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c PersistentIpInterface) SetFlowLimiter(lim fc.FlowLimiter)
- func (c PersistentIpInterface) String() string
- type PersistentIpInterface_List
- type PersistentIpInterface_Server
- type PersistentIpNetwork
- func (c PersistentIpNetwork) AddRef() PersistentIpNetwork
- func (c PersistentIpNetwork) AddRequirements(ctx context.Context, ...) (supervisor.SystemPersistent_addRequirements_Results_Future, capnp.ReleaseFunc)
- func (PersistentIpNetwork) DecodeFromPtr(p capnp.Ptr) PersistentIpNetwork
- func (c PersistentIpNetwork) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c PersistentIpNetwork) GetFlowLimiter() fc.FlowLimiter
- func (c PersistentIpNetwork) GetRemoteHost(ctx context.Context, params func(IpNetwork_getRemoteHost_Params) error) (IpNetwork_getRemoteHost_Results_Future, capnp.ReleaseFunc)
- func (c PersistentIpNetwork) GetRemoteHostByName(ctx context.Context, params func(IpNetwork_getRemoteHostByName_Params) error) (IpNetwork_getRemoteHostByName_Results_Future, capnp.ReleaseFunc)
- func (c PersistentIpNetwork) IsSame(other PersistentIpNetwork) bool
- func (c PersistentIpNetwork) IsValid() bool
- func (c PersistentIpNetwork) Release()
- func (c PersistentIpNetwork) Resolve(ctx context.Context) error
- func (c PersistentIpNetwork) Save(ctx context.Context, params func(persistent.Persistent_SaveParams) error) (persistent.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c PersistentIpNetwork) SetFlowLimiter(lim fc.FlowLimiter)
- func (c PersistentIpNetwork) String() string
- type PersistentIpNetwork_List
- type PersistentIpNetwork_Server
- type TcpPort
- func (c TcpPort) AddRef() TcpPort
- func (c TcpPort) Connect(ctx context.Context, params func(TcpPort_connect_Params) error) (TcpPort_connect_Results_Future, capnp.ReleaseFunc)
- func (TcpPort) DecodeFromPtr(p capnp.Ptr) TcpPort
- func (c TcpPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c TcpPort) GetFlowLimiter() fc.FlowLimiter
- func (c TcpPort) IsSame(other TcpPort) bool
- func (c TcpPort) IsValid() bool
- func (c TcpPort) Release()
- func (c TcpPort) Resolve(ctx context.Context) error
- func (c TcpPort) SetFlowLimiter(lim fc.FlowLimiter)
- func (c TcpPort) String() string
- type TcpPort_List
- type TcpPort_Server
- type TcpPort_connect
- type TcpPort_connect_Params
- func (TcpPort_connect_Params) DecodeFromPtr(p capnp.Ptr) TcpPort_connect_Params
- func (s TcpPort_connect_Params) Downstream() util.ByteStream
- func (s TcpPort_connect_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s TcpPort_connect_Params) HasDownstream() bool
- func (s TcpPort_connect_Params) IsValid() bool
- func (s TcpPort_connect_Params) Message() *capnp.Message
- func (s TcpPort_connect_Params) Segment() *capnp.Segment
- func (s TcpPort_connect_Params) SetDownstream(v util.ByteStream) error
- func (s TcpPort_connect_Params) String() string
- func (s TcpPort_connect_Params) ToPtr() capnp.Ptr
- type TcpPort_connect_Params_Future
- type TcpPort_connect_Params_List
- type TcpPort_connect_Results
- func (TcpPort_connect_Results) DecodeFromPtr(p capnp.Ptr) TcpPort_connect_Results
- func (s TcpPort_connect_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s TcpPort_connect_Results) HasUpstream() bool
- func (s TcpPort_connect_Results) IsValid() bool
- func (s TcpPort_connect_Results) Message() *capnp.Message
- func (s TcpPort_connect_Results) Segment() *capnp.Segment
- func (s TcpPort_connect_Results) SetUpstream(v util.ByteStream) error
- func (s TcpPort_connect_Results) String() string
- func (s TcpPort_connect_Results) ToPtr() capnp.Ptr
- func (s TcpPort_connect_Results) Upstream() util.ByteStream
- type TcpPort_connect_Results_Future
- type TcpPort_connect_Results_List
- type UdpPort
- func (c UdpPort) AddRef() UdpPort
- func (UdpPort) DecodeFromPtr(p capnp.Ptr) UdpPort
- func (c UdpPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c UdpPort) GetFlowLimiter() fc.FlowLimiter
- func (c UdpPort) IsSame(other UdpPort) bool
- func (c UdpPort) IsValid() bool
- func (c UdpPort) Release()
- func (c UdpPort) Resolve(ctx context.Context) error
- func (c UdpPort) Send(ctx context.Context, params func(UdpPort_send_Params) error) (UdpPort_send_Results_Future, capnp.ReleaseFunc)
- func (c UdpPort) SetFlowLimiter(lim fc.FlowLimiter)
- func (c UdpPort) String() string
- type UdpPort_List
- type UdpPort_Server
- type UdpPort_send
- type UdpPort_send_Params
- func (UdpPort_send_Params) DecodeFromPtr(p capnp.Ptr) UdpPort_send_Params
- func (s UdpPort_send_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s UdpPort_send_Params) HasMsg() bool
- func (s UdpPort_send_Params) HasReturnPort() bool
- func (s UdpPort_send_Params) IsValid() bool
- func (s UdpPort_send_Params) Message() *capnp.Message
- func (s UdpPort_send_Params) Msg() ([]byte, error)
- func (s UdpPort_send_Params) ReturnPort() UdpPort
- func (s UdpPort_send_Params) Segment() *capnp.Segment
- func (s UdpPort_send_Params) SetMsg(v []byte) error
- func (s UdpPort_send_Params) SetReturnPort(v UdpPort) error
- func (s UdpPort_send_Params) String() string
- func (s UdpPort_send_Params) ToPtr() capnp.Ptr
- type UdpPort_send_Params_Future
- type UdpPort_send_Params_List
- type UdpPort_send_Results
- func (UdpPort_send_Results) DecodeFromPtr(p capnp.Ptr) UdpPort_send_Results
- func (s UdpPort_send_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s UdpPort_send_Results) IsValid() bool
- func (s UdpPort_send_Results) Message() *capnp.Message
- func (s UdpPort_send_Results) Segment() *capnp.Segment
- func (s UdpPort_send_Results) String() string
- func (s UdpPort_send_Results) ToPtr() capnp.Ptr
- type UdpPort_send_Results_Future
- type UdpPort_send_Results_List
Constants ¶
const IpAddress_TypeID = 0xeeb98f9937d32c0b
IpAddress_TypeID is the unique identifier for the type IpAddress.
const IpInterface_TypeID = 0xe32c506ee93ed6fa
IpInterface_TypeID is the unique identifier for the type IpInterface.
const IpInterface_listenTcp_Params_TypeID = 0xfd226ae4c6bd2b1e
IpInterface_listenTcp_Params_TypeID is the unique identifier for the type IpInterface_listenTcp_Params.
const IpInterface_listenTcp_Results_TypeID = 0x9381253786627ecf
IpInterface_listenTcp_Results_TypeID is the unique identifier for the type IpInterface_listenTcp_Results.
const IpInterface_listenUdp_Params_TypeID = 0xa1d8815a262abc49
IpInterface_listenUdp_Params_TypeID is the unique identifier for the type IpInterface_listenUdp_Params.
const IpInterface_listenUdp_Results_TypeID = 0xcb83a480981bc290
IpInterface_listenUdp_Results_TypeID is the unique identifier for the type IpInterface_listenUdp_Results.
const IpNetwork_PowerboxTag_Encryption_TypeID = 0xe2d94cf90fe4078d
IpNetwork_PowerboxTag_Encryption_TypeID is the unique identifier for the type IpNetwork_PowerboxTag_Encryption.
const IpNetwork_PowerboxTag_TypeID = 0xcf9e3f33950df819
IpNetwork_PowerboxTag_TypeID is the unique identifier for the type IpNetwork_PowerboxTag.
const IpNetwork_TypeID = 0xa982576b7a2a2040
IpNetwork_TypeID is the unique identifier for the type IpNetwork.
const IpNetwork_getRemoteHostByName_Params_TypeID = 0x9d5f1f6efcf7bbc4
IpNetwork_getRemoteHostByName_Params_TypeID is the unique identifier for the type IpNetwork_getRemoteHostByName_Params.
const IpNetwork_getRemoteHostByName_Results_TypeID = 0xd14a2ec2bad45f69
IpNetwork_getRemoteHostByName_Results_TypeID is the unique identifier for the type IpNetwork_getRemoteHostByName_Results.
const IpNetwork_getRemoteHost_Params_TypeID = 0xdd1700c1eb725eb4
IpNetwork_getRemoteHost_Params_TypeID is the unique identifier for the type IpNetwork_getRemoteHost_Params.
const IpNetwork_getRemoteHost_Results_TypeID = 0xb57bd5aef30c4b61
IpNetwork_getRemoteHost_Results_TypeID is the unique identifier for the type IpNetwork_getRemoteHost_Results.
const IpPortPowerboxMetadata_TypeID = 0x856e71a6a4f22bba
IpPortPowerboxMetadata_TypeID is the unique identifier for the type IpPortPowerboxMetadata.
const IpRemoteHost_TypeID = 0x905dd76b298b3130
IpRemoteHost_TypeID is the unique identifier for the type IpRemoteHost.
const IpRemoteHost_getTcpPort_Params_TypeID = 0xed10beb11e7383e9
IpRemoteHost_getTcpPort_Params_TypeID is the unique identifier for the type IpRemoteHost_getTcpPort_Params.
const IpRemoteHost_getTcpPort_Results_TypeID = 0xd77df9f44cfcde33
IpRemoteHost_getTcpPort_Results_TypeID is the unique identifier for the type IpRemoteHost_getTcpPort_Results.
const IpRemoteHost_getUdpPort_Params_TypeID = 0xb62b02486ebe26ed
IpRemoteHost_getUdpPort_Params_TypeID is the unique identifier for the type IpRemoteHost_getUdpPort_Params.
const IpRemoteHost_getUdpPort_Results_TypeID = 0xf53aa3a93e49003b
IpRemoteHost_getUdpPort_Results_TypeID is the unique identifier for the type IpRemoteHost_getUdpPort_Results.
const PersistentIpInterface_TypeID = 0xcf43ebe6a5a6f1b4
PersistentIpInterface_TypeID is the unique identifier for the type PersistentIpInterface.
const PersistentIpNetwork_TypeID = 0xa5b3215660e038f2
PersistentIpNetwork_TypeID is the unique identifier for the type PersistentIpNetwork.
const TcpPort_TypeID = 0xeab20e1af07806b4
TcpPort_TypeID is the unique identifier for the type TcpPort.
const TcpPort_connect_Params_TypeID = 0x8a60e53250a32321
TcpPort_connect_Params_TypeID is the unique identifier for the type TcpPort_connect_Params.
const TcpPort_connect_Results_TypeID = 0xcdd1222d14073645
TcpPort_connect_Results_TypeID is the unique identifier for the type TcpPort_connect_Results.
const UdpPort_TypeID = 0xc6212e1217d001ce
UdpPort_TypeID is the unique identifier for the type UdpPort.
const UdpPort_send_Params_TypeID = 0xc6ca13f7c8dbd102
UdpPort_send_Params_TypeID is the unique identifier for the type UdpPort_send_Params.
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_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.
type IpInterface ¶
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) 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 (c IpInterface) ListenTcp(ctx context.Context, params func(IpInterface_listenTcp_Params) error) (IpInterface_listenTcp_Results_Future, capnp.ReleaseFunc)
func (IpInterface) ListenUdp ¶
func (c IpInterface) ListenUdp(ctx context.Context, params func(IpInterface_listenUdp_Params) error) (IpInterface_listenUdp_Results_Future, capnp.ReleaseFunc)
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.
type IpInterface_Server ¶
type IpInterface_Server interface { ListenTcp(context.Context, IpInterface_listenTcp) error ListenUdp(context.Context, IpInterface_listenUdp) error }
type IpInterface_listenTcp ¶
IpInterface_listenTcp holds the state for a server call to IpInterface.listenTcp. See server.Call for documentation.
func (IpInterface_listenTcp) AllocResults ¶
func (c IpInterface_listenTcp) AllocResults() (IpInterface_listenTcp_Results, error)
AllocResults allocates the results struct.
func (IpInterface_listenTcp) Args ¶
func (c IpInterface_listenTcp) Args() IpInterface_listenTcp_Params
Args returns the call's arguments.
type IpInterface_listenTcp_Params ¶
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) DecodeFromPtr(p capnp.Ptr) IpInterface_listenTcp_Params
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 (s IpInterface_listenTcp_Params) Message() *capnp.Message
func (IpInterface_listenTcp_Params) Port ¶
func (s IpInterface_listenTcp_Params) Port() TcpPort
func (IpInterface_listenTcp_Params) PortNum ¶
func (s IpInterface_listenTcp_Params) PortNum() uint16
func (IpInterface_listenTcp_Params) Segment ¶
func (s IpInterface_listenTcp_Params) Segment() *capnp.Segment
func (IpInterface_listenTcp_Params) SetPort ¶
func (s IpInterface_listenTcp_Params) SetPort(v TcpPort) error
func (IpInterface_listenTcp_Params) SetPortNum ¶
func (s IpInterface_listenTcp_Params) SetPortNum(v uint16)
func (IpInterface_listenTcp_Params) String ¶
func (s IpInterface_listenTcp_Params) String() string
func (IpInterface_listenTcp_Params) ToPtr ¶
func (s IpInterface_listenTcp_Params) ToPtr() capnp.Ptr
type IpInterface_listenTcp_Params_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 (p IpInterface_listenTcp_Params_Future) Port() TcpPort
func (IpInterface_listenTcp_Params_Future) Struct ¶
func (f IpInterface_listenTcp_Params_Future) Struct() (IpInterface_listenTcp_Params, error)
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.
type IpInterface_listenTcp_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpInterface_listenTcp_Results
func (IpInterface_listenTcp_Results) EncodeAsPtr ¶
func (s IpInterface_listenTcp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpInterface_listenTcp_Results) Handle ¶
func (s IpInterface_listenTcp_Results) Handle() util.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 (s IpInterface_listenTcp_Results) Message() *capnp.Message
func (IpInterface_listenTcp_Results) Segment ¶
func (s IpInterface_listenTcp_Results) Segment() *capnp.Segment
func (IpInterface_listenTcp_Results) SetHandle ¶
func (s IpInterface_listenTcp_Results) SetHandle(v util.Handle) error
func (IpInterface_listenTcp_Results) String ¶
func (s IpInterface_listenTcp_Results) String() string
func (IpInterface_listenTcp_Results) ToPtr ¶
func (s IpInterface_listenTcp_Results) ToPtr() capnp.Ptr
type IpInterface_listenTcp_Results_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 (p IpInterface_listenTcp_Results_Future) Handle() util.Handle
func (IpInterface_listenTcp_Results_Future) Struct ¶
func (f IpInterface_listenTcp_Results_Future) Struct() (IpInterface_listenTcp_Results, error)
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.
type IpInterface_listenUdp ¶
IpInterface_listenUdp holds the state for a server call to IpInterface.listenUdp. See server.Call for documentation.
func (IpInterface_listenUdp) AllocResults ¶
func (c IpInterface_listenUdp) AllocResults() (IpInterface_listenUdp_Results, error)
AllocResults allocates the results struct.
func (IpInterface_listenUdp) Args ¶
func (c IpInterface_listenUdp) Args() IpInterface_listenUdp_Params
Args returns the call's arguments.
type IpInterface_listenUdp_Params ¶
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) DecodeFromPtr(p capnp.Ptr) IpInterface_listenUdp_Params
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 (s IpInterface_listenUdp_Params) Message() *capnp.Message
func (IpInterface_listenUdp_Params) Port ¶
func (s IpInterface_listenUdp_Params) Port() UdpPort
func (IpInterface_listenUdp_Params) PortNum ¶
func (s IpInterface_listenUdp_Params) PortNum() uint16
func (IpInterface_listenUdp_Params) Segment ¶
func (s IpInterface_listenUdp_Params) Segment() *capnp.Segment
func (IpInterface_listenUdp_Params) SetPort ¶
func (s IpInterface_listenUdp_Params) SetPort(v UdpPort) error
func (IpInterface_listenUdp_Params) SetPortNum ¶
func (s IpInterface_listenUdp_Params) SetPortNum(v uint16)
func (IpInterface_listenUdp_Params) String ¶
func (s IpInterface_listenUdp_Params) String() string
func (IpInterface_listenUdp_Params) ToPtr ¶
func (s IpInterface_listenUdp_Params) ToPtr() capnp.Ptr
type IpInterface_listenUdp_Params_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 (p IpInterface_listenUdp_Params_Future) Port() UdpPort
func (IpInterface_listenUdp_Params_Future) Struct ¶
func (f IpInterface_listenUdp_Params_Future) Struct() (IpInterface_listenUdp_Params, error)
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.
type IpInterface_listenUdp_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpInterface_listenUdp_Results
func (IpInterface_listenUdp_Results) EncodeAsPtr ¶
func (s IpInterface_listenUdp_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpInterface_listenUdp_Results) Handle ¶
func (s IpInterface_listenUdp_Results) Handle() util.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 (s IpInterface_listenUdp_Results) Message() *capnp.Message
func (IpInterface_listenUdp_Results) Segment ¶
func (s IpInterface_listenUdp_Results) Segment() *capnp.Segment
func (IpInterface_listenUdp_Results) SetHandle ¶
func (s IpInterface_listenUdp_Results) SetHandle(v util.Handle) error
func (IpInterface_listenUdp_Results) String ¶
func (s IpInterface_listenUdp_Results) String() string
func (IpInterface_listenUdp_Results) ToPtr ¶
func (s IpInterface_listenUdp_Results) ToPtr() capnp.Ptr
type IpInterface_listenUdp_Results_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 (p IpInterface_listenUdp_Results_Future) Handle() util.Handle
func (IpInterface_listenUdp_Results_Future) Struct ¶
func (f IpInterface_listenUdp_Results_Future) Struct() (IpInterface_listenUdp_Results, error)
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.
type IpNetwork ¶
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 ¶
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) GetFlowLimiter ¶
func (c IpNetwork) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (IpNetwork) GetRemoteHost ¶
func (c IpNetwork) GetRemoteHost(ctx context.Context, params func(IpNetwork_getRemoteHost_Params) error) (IpNetwork_getRemoteHost_Results_Future, capnp.ReleaseFunc)
func (IpNetwork) GetRemoteHostByName ¶
func (c IpNetwork) GetRemoteHostByName(ctx context.Context, params func(IpNetwork_getRemoteHostByName_Params) error) (IpNetwork_getRemoteHostByName_Results_Future, capnp.ReleaseFunc)
func (IpNetwork) 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 (IpNetwork) IsValid ¶
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 ¶
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.
type IpNetwork_List ¶
IpNetwork_List is a list of IpNetwork.
type IpNetwork_PowerboxTag ¶
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) DecodeFromPtr(p capnp.Ptr) IpNetwork_PowerboxTag
func (IpNetwork_PowerboxTag) EncodeAsPtr ¶
func (s IpNetwork_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_PowerboxTag) Encryption ¶
func (s IpNetwork_PowerboxTag) Encryption() (IpNetwork_PowerboxTag_Encryption, error)
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 ¶
func (s IpNetwork_PowerboxTag) NewEncryption() (IpNetwork_PowerboxTag_Encryption, error)
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 (s IpNetwork_PowerboxTag) SetEncryption(v IpNetwork_PowerboxTag_Encryption) error
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 ¶
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) DecodeFromPtr(p capnp.Ptr) IpNetwork_PowerboxTag_Encryption
func (IpNetwork_PowerboxTag_Encryption) EncodeAsPtr ¶
func (s IpNetwork_PowerboxTag_Encryption) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_PowerboxTag_Encryption) IsValid ¶
func (s IpNetwork_PowerboxTag_Encryption) IsValid() bool
func (IpNetwork_PowerboxTag_Encryption) Message ¶
func (s IpNetwork_PowerboxTag_Encryption) Message() *capnp.Message
func (IpNetwork_PowerboxTag_Encryption) Segment ¶
func (s IpNetwork_PowerboxTag_Encryption) Segment() *capnp.Segment
func (IpNetwork_PowerboxTag_Encryption) SetNone ¶
func (s IpNetwork_PowerboxTag_Encryption) SetNone()
func (IpNetwork_PowerboxTag_Encryption) SetTls ¶
func (s IpNetwork_PowerboxTag_Encryption) SetTls()
func (IpNetwork_PowerboxTag_Encryption) String ¶
func (s IpNetwork_PowerboxTag_Encryption) String() string
func (IpNetwork_PowerboxTag_Encryption) ToPtr ¶
func (s IpNetwork_PowerboxTag_Encryption) ToPtr() capnp.Ptr
func (IpNetwork_PowerboxTag_Encryption) Which ¶
func (s IpNetwork_PowerboxTag_Encryption) Which() IpNetwork_PowerboxTag_Encryption_Which
type IpNetwork_PowerboxTag_Encryption_Future ¶
IpNetwork_PowerboxTag_Encryption_Future is a wrapper for a IpNetwork_PowerboxTag_Encryption promised by a client call.
func (IpNetwork_PowerboxTag_Encryption_Future) Struct ¶
func (f IpNetwork_PowerboxTag_Encryption_Future) Struct() (IpNetwork_PowerboxTag_Encryption, error)
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.
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 ¶
func (w IpNetwork_PowerboxTag_Encryption_Which) String() string
type IpNetwork_PowerboxTag_Future ¶
IpNetwork_PowerboxTag_Future is a wrapper for a IpNetwork_PowerboxTag promised by a client call.
func (IpNetwork_PowerboxTag_Future) Encryption ¶
func (p IpNetwork_PowerboxTag_Future) Encryption() IpNetwork_PowerboxTag_Encryption_Future
func (IpNetwork_PowerboxTag_Future) Struct ¶
func (f IpNetwork_PowerboxTag_Future) Struct() (IpNetwork_PowerboxTag, error)
type IpNetwork_PowerboxTag_List ¶
type IpNetwork_PowerboxTag_List = capnp.StructList[IpNetwork_PowerboxTag]
IpNetwork_PowerboxTag_List is a 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 ¶
IpNetwork_getRemoteHost holds the state for a server call to IpNetwork.getRemoteHost. See server.Call for documentation.
func (IpNetwork_getRemoteHost) AllocResults ¶
func (c IpNetwork_getRemoteHost) AllocResults() (IpNetwork_getRemoteHost_Results, error)
AllocResults allocates the results struct.
func (IpNetwork_getRemoteHost) Args ¶
func (c IpNetwork_getRemoteHost) Args() IpNetwork_getRemoteHost_Params
Args returns the call's arguments.
type IpNetwork_getRemoteHostByName ¶
IpNetwork_getRemoteHostByName holds the state for a server call to IpNetwork.getRemoteHostByName. See server.Call for documentation.
func (IpNetwork_getRemoteHostByName) AllocResults ¶
func (c IpNetwork_getRemoteHostByName) AllocResults() (IpNetwork_getRemoteHostByName_Results, error)
AllocResults allocates the results struct.
func (IpNetwork_getRemoteHostByName) Args ¶
func (c IpNetwork_getRemoteHostByName) Args() IpNetwork_getRemoteHostByName_Params
Args returns the call's arguments.
type IpNetwork_getRemoteHostByName_Params ¶
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 (s IpNetwork_getRemoteHostByName_Params) Address() (string, error)
func (IpNetwork_getRemoteHostByName_Params) AddressBytes ¶
func (s IpNetwork_getRemoteHostByName_Params) AddressBytes() ([]byte, error)
func (IpNetwork_getRemoteHostByName_Params) DecodeFromPtr ¶
func (IpNetwork_getRemoteHostByName_Params) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHostByName_Params
func (IpNetwork_getRemoteHostByName_Params) EncodeAsPtr ¶
func (s IpNetwork_getRemoteHostByName_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_getRemoteHostByName_Params) HasAddress ¶
func (s IpNetwork_getRemoteHostByName_Params) HasAddress() bool
func (IpNetwork_getRemoteHostByName_Params) IsValid ¶
func (s IpNetwork_getRemoteHostByName_Params) IsValid() bool
func (IpNetwork_getRemoteHostByName_Params) Message ¶
func (s IpNetwork_getRemoteHostByName_Params) Message() *capnp.Message
func (IpNetwork_getRemoteHostByName_Params) Segment ¶
func (s IpNetwork_getRemoteHostByName_Params) Segment() *capnp.Segment
func (IpNetwork_getRemoteHostByName_Params) SetAddress ¶
func (s IpNetwork_getRemoteHostByName_Params) SetAddress(v string) error
func (IpNetwork_getRemoteHostByName_Params) String ¶
func (s IpNetwork_getRemoteHostByName_Params) String() string
func (IpNetwork_getRemoteHostByName_Params) ToPtr ¶
func (s IpNetwork_getRemoteHostByName_Params) ToPtr() capnp.Ptr
type IpNetwork_getRemoteHostByName_Params_Future ¶
IpNetwork_getRemoteHostByName_Params_Future is a wrapper for a IpNetwork_getRemoteHostByName_Params promised by a client call.
func (IpNetwork_getRemoteHostByName_Params_Future) Struct ¶
func (f IpNetwork_getRemoteHostByName_Params_Future) Struct() (IpNetwork_getRemoteHostByName_Params, error)
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.
type IpNetwork_getRemoteHostByName_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHostByName_Results
func (IpNetwork_getRemoteHostByName_Results) EncodeAsPtr ¶
func (s IpNetwork_getRemoteHostByName_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_getRemoteHostByName_Results) HasHost ¶
func (s IpNetwork_getRemoteHostByName_Results) HasHost() bool
func (IpNetwork_getRemoteHostByName_Results) Host ¶
func (s IpNetwork_getRemoteHostByName_Results) Host() IpRemoteHost
func (IpNetwork_getRemoteHostByName_Results) IsValid ¶
func (s IpNetwork_getRemoteHostByName_Results) IsValid() bool
func (IpNetwork_getRemoteHostByName_Results) Message ¶
func (s IpNetwork_getRemoteHostByName_Results) Message() *capnp.Message
func (IpNetwork_getRemoteHostByName_Results) Segment ¶
func (s IpNetwork_getRemoteHostByName_Results) Segment() *capnp.Segment
func (IpNetwork_getRemoteHostByName_Results) SetHost ¶
func (s IpNetwork_getRemoteHostByName_Results) SetHost(v IpRemoteHost) error
func (IpNetwork_getRemoteHostByName_Results) String ¶
func (s IpNetwork_getRemoteHostByName_Results) String() string
func (IpNetwork_getRemoteHostByName_Results) ToPtr ¶
func (s IpNetwork_getRemoteHostByName_Results) ToPtr() capnp.Ptr
type IpNetwork_getRemoteHostByName_Results_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 (p IpNetwork_getRemoteHostByName_Results_Future) Host() IpRemoteHost
func (IpNetwork_getRemoteHostByName_Results_Future) Struct ¶
func (f IpNetwork_getRemoteHostByName_Results_Future) Struct() (IpNetwork_getRemoteHostByName_Results, error)
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.
type IpNetwork_getRemoteHost_Params ¶
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 (s IpNetwork_getRemoteHost_Params) Address() (IpAddress, error)
func (IpNetwork_getRemoteHost_Params) DecodeFromPtr ¶
func (IpNetwork_getRemoteHost_Params) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHost_Params
func (IpNetwork_getRemoteHost_Params) EncodeAsPtr ¶
func (s IpNetwork_getRemoteHost_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_getRemoteHost_Params) HasAddress ¶
func (s IpNetwork_getRemoteHost_Params) HasAddress() bool
func (IpNetwork_getRemoteHost_Params) IsValid ¶
func (s IpNetwork_getRemoteHost_Params) IsValid() bool
func (IpNetwork_getRemoteHost_Params) Message ¶
func (s IpNetwork_getRemoteHost_Params) Message() *capnp.Message
func (IpNetwork_getRemoteHost_Params) NewAddress ¶
func (s IpNetwork_getRemoteHost_Params) NewAddress() (IpAddress, error)
NewAddress sets the address field to a newly allocated IpAddress struct, preferring placement in s's segment.
func (IpNetwork_getRemoteHost_Params) Segment ¶
func (s IpNetwork_getRemoteHost_Params) Segment() *capnp.Segment
func (IpNetwork_getRemoteHost_Params) SetAddress ¶
func (s IpNetwork_getRemoteHost_Params) SetAddress(v IpAddress) error
func (IpNetwork_getRemoteHost_Params) String ¶
func (s IpNetwork_getRemoteHost_Params) String() string
func (IpNetwork_getRemoteHost_Params) ToPtr ¶
func (s IpNetwork_getRemoteHost_Params) ToPtr() capnp.Ptr
type IpNetwork_getRemoteHost_Params_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 (p IpNetwork_getRemoteHost_Params_Future) Address() IpAddress_Future
func (IpNetwork_getRemoteHost_Params_Future) Struct ¶
func (f IpNetwork_getRemoteHost_Params_Future) Struct() (IpNetwork_getRemoteHost_Params, error)
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.
type IpNetwork_getRemoteHost_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpNetwork_getRemoteHost_Results
func (IpNetwork_getRemoteHost_Results) EncodeAsPtr ¶
func (s IpNetwork_getRemoteHost_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpNetwork_getRemoteHost_Results) HasHost ¶
func (s IpNetwork_getRemoteHost_Results) HasHost() bool
func (IpNetwork_getRemoteHost_Results) Host ¶
func (s IpNetwork_getRemoteHost_Results) Host() IpRemoteHost
func (IpNetwork_getRemoteHost_Results) IsValid ¶
func (s IpNetwork_getRemoteHost_Results) IsValid() bool
func (IpNetwork_getRemoteHost_Results) Message ¶
func (s IpNetwork_getRemoteHost_Results) Message() *capnp.Message
func (IpNetwork_getRemoteHost_Results) Segment ¶
func (s IpNetwork_getRemoteHost_Results) Segment() *capnp.Segment
func (IpNetwork_getRemoteHost_Results) SetHost ¶
func (s IpNetwork_getRemoteHost_Results) SetHost(v IpRemoteHost) error
func (IpNetwork_getRemoteHost_Results) String ¶
func (s IpNetwork_getRemoteHost_Results) String() string
func (IpNetwork_getRemoteHost_Results) ToPtr ¶
func (s IpNetwork_getRemoteHost_Results) ToPtr() capnp.Ptr
type IpNetwork_getRemoteHost_Results_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 (p IpNetwork_getRemoteHost_Results_Future) Host() IpRemoteHost
func (IpNetwork_getRemoteHost_Results_Future) Struct ¶
func (f IpNetwork_getRemoteHost_Results_Future) Struct() (IpNetwork_getRemoteHost_Results, error)
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.
type IpPortPowerboxMetadata ¶
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) DecodeFromPtr(p capnp.Ptr) IpPortPowerboxMetadata
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 ¶
IpPortPowerboxMetadata_Future is a wrapper for a IpPortPowerboxMetadata promised by a client call.
func (IpPortPowerboxMetadata_Future) Struct ¶
func (f IpPortPowerboxMetadata_Future) Struct() (IpPortPowerboxMetadata, error)
type IpPortPowerboxMetadata_List ¶
type IpPortPowerboxMetadata_List = capnp.StructList[IpPortPowerboxMetadata]
IpPortPowerboxMetadata_List is a list of IpPortPowerboxMetadata.
type IpRemoteHost ¶
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) GetFlowLimiter ¶
func (c IpRemoteHost) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (IpRemoteHost) GetTcpPort ¶
func (c IpRemoteHost) GetTcpPort(ctx context.Context, params func(IpRemoteHost_getTcpPort_Params) error) (IpRemoteHost_getTcpPort_Results_Future, capnp.ReleaseFunc)
func (IpRemoteHost) GetUdpPort ¶
func (c IpRemoteHost) GetUdpPort(ctx context.Context, params func(IpRemoteHost_getUdpPort_Params) error) (IpRemoteHost_getUdpPort_Results_Future, capnp.ReleaseFunc)
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.
type IpRemoteHost_Server ¶
type IpRemoteHost_Server interface { GetTcpPort(context.Context, IpRemoteHost_getTcpPort) error GetUdpPort(context.Context, IpRemoteHost_getUdpPort) error }
type IpRemoteHost_getTcpPort ¶
IpRemoteHost_getTcpPort holds the state for a server call to IpRemoteHost.getTcpPort. See server.Call for documentation.
func (IpRemoteHost_getTcpPort) AllocResults ¶
func (c IpRemoteHost_getTcpPort) AllocResults() (IpRemoteHost_getTcpPort_Results, error)
AllocResults allocates the results struct.
func (IpRemoteHost_getTcpPort) Args ¶
func (c IpRemoteHost_getTcpPort) Args() IpRemoteHost_getTcpPort_Params
Args returns the call's arguments.
type IpRemoteHost_getTcpPort_Params ¶
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) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getTcpPort_Params
func (IpRemoteHost_getTcpPort_Params) EncodeAsPtr ¶
func (s IpRemoteHost_getTcpPort_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpRemoteHost_getTcpPort_Params) IsValid ¶
func (s IpRemoteHost_getTcpPort_Params) IsValid() bool
func (IpRemoteHost_getTcpPort_Params) Message ¶
func (s IpRemoteHost_getTcpPort_Params) Message() *capnp.Message
func (IpRemoteHost_getTcpPort_Params) PortNum ¶
func (s IpRemoteHost_getTcpPort_Params) PortNum() uint16
func (IpRemoteHost_getTcpPort_Params) Segment ¶
func (s IpRemoteHost_getTcpPort_Params) Segment() *capnp.Segment
func (IpRemoteHost_getTcpPort_Params) SetPortNum ¶
func (s IpRemoteHost_getTcpPort_Params) SetPortNum(v uint16)
func (IpRemoteHost_getTcpPort_Params) String ¶
func (s IpRemoteHost_getTcpPort_Params) String() string
func (IpRemoteHost_getTcpPort_Params) ToPtr ¶
func (s IpRemoteHost_getTcpPort_Params) ToPtr() capnp.Ptr
type IpRemoteHost_getTcpPort_Params_Future ¶
IpRemoteHost_getTcpPort_Params_Future is a wrapper for a IpRemoteHost_getTcpPort_Params promised by a client call.
func (IpRemoteHost_getTcpPort_Params_Future) Struct ¶
func (f IpRemoteHost_getTcpPort_Params_Future) Struct() (IpRemoteHost_getTcpPort_Params, error)
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.
type IpRemoteHost_getTcpPort_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getTcpPort_Results
func (IpRemoteHost_getTcpPort_Results) EncodeAsPtr ¶
func (s IpRemoteHost_getTcpPort_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpRemoteHost_getTcpPort_Results) HasPort ¶
func (s IpRemoteHost_getTcpPort_Results) HasPort() bool
func (IpRemoteHost_getTcpPort_Results) IsValid ¶
func (s IpRemoteHost_getTcpPort_Results) IsValid() bool
func (IpRemoteHost_getTcpPort_Results) Message ¶
func (s IpRemoteHost_getTcpPort_Results) Message() *capnp.Message
func (IpRemoteHost_getTcpPort_Results) Port ¶
func (s IpRemoteHost_getTcpPort_Results) Port() TcpPort
func (IpRemoteHost_getTcpPort_Results) Segment ¶
func (s IpRemoteHost_getTcpPort_Results) Segment() *capnp.Segment
func (IpRemoteHost_getTcpPort_Results) SetPort ¶
func (s IpRemoteHost_getTcpPort_Results) SetPort(v TcpPort) error
func (IpRemoteHost_getTcpPort_Results) String ¶
func (s IpRemoteHost_getTcpPort_Results) String() string
func (IpRemoteHost_getTcpPort_Results) ToPtr ¶
func (s IpRemoteHost_getTcpPort_Results) ToPtr() capnp.Ptr
type IpRemoteHost_getTcpPort_Results_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 (p IpRemoteHost_getTcpPort_Results_Future) Port() TcpPort
func (IpRemoteHost_getTcpPort_Results_Future) Struct ¶
func (f IpRemoteHost_getTcpPort_Results_Future) Struct() (IpRemoteHost_getTcpPort_Results, error)
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.
type IpRemoteHost_getUdpPort ¶
IpRemoteHost_getUdpPort holds the state for a server call to IpRemoteHost.getUdpPort. See server.Call for documentation.
func (IpRemoteHost_getUdpPort) AllocResults ¶
func (c IpRemoteHost_getUdpPort) AllocResults() (IpRemoteHost_getUdpPort_Results, error)
AllocResults allocates the results struct.
func (IpRemoteHost_getUdpPort) Args ¶
func (c IpRemoteHost_getUdpPort) Args() IpRemoteHost_getUdpPort_Params
Args returns the call's arguments.
type IpRemoteHost_getUdpPort_Params ¶
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) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getUdpPort_Params
func (IpRemoteHost_getUdpPort_Params) EncodeAsPtr ¶
func (s IpRemoteHost_getUdpPort_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpRemoteHost_getUdpPort_Params) IsValid ¶
func (s IpRemoteHost_getUdpPort_Params) IsValid() bool
func (IpRemoteHost_getUdpPort_Params) Message ¶
func (s IpRemoteHost_getUdpPort_Params) Message() *capnp.Message
func (IpRemoteHost_getUdpPort_Params) PortNum ¶
func (s IpRemoteHost_getUdpPort_Params) PortNum() uint16
func (IpRemoteHost_getUdpPort_Params) Segment ¶
func (s IpRemoteHost_getUdpPort_Params) Segment() *capnp.Segment
func (IpRemoteHost_getUdpPort_Params) SetPortNum ¶
func (s IpRemoteHost_getUdpPort_Params) SetPortNum(v uint16)
func (IpRemoteHost_getUdpPort_Params) String ¶
func (s IpRemoteHost_getUdpPort_Params) String() string
func (IpRemoteHost_getUdpPort_Params) ToPtr ¶
func (s IpRemoteHost_getUdpPort_Params) ToPtr() capnp.Ptr
type IpRemoteHost_getUdpPort_Params_Future ¶
IpRemoteHost_getUdpPort_Params_Future is a wrapper for a IpRemoteHost_getUdpPort_Params promised by a client call.
func (IpRemoteHost_getUdpPort_Params_Future) Struct ¶
func (f IpRemoteHost_getUdpPort_Params_Future) Struct() (IpRemoteHost_getUdpPort_Params, error)
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.
type IpRemoteHost_getUdpPort_Results ¶
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) DecodeFromPtr(p capnp.Ptr) IpRemoteHost_getUdpPort_Results
func (IpRemoteHost_getUdpPort_Results) EncodeAsPtr ¶
func (s IpRemoteHost_getUdpPort_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (IpRemoteHost_getUdpPort_Results) HasPort ¶
func (s IpRemoteHost_getUdpPort_Results) HasPort() bool
func (IpRemoteHost_getUdpPort_Results) IsValid ¶
func (s IpRemoteHost_getUdpPort_Results) IsValid() bool
func (IpRemoteHost_getUdpPort_Results) Message ¶
func (s IpRemoteHost_getUdpPort_Results) Message() *capnp.Message
func (IpRemoteHost_getUdpPort_Results) Port ¶
func (s IpRemoteHost_getUdpPort_Results) Port() UdpPort
func (IpRemoteHost_getUdpPort_Results) Segment ¶
func (s IpRemoteHost_getUdpPort_Results) Segment() *capnp.Segment
func (IpRemoteHost_getUdpPort_Results) SetPort ¶
func (s IpRemoteHost_getUdpPort_Results) SetPort(v UdpPort) error
func (IpRemoteHost_getUdpPort_Results) String ¶
func (s IpRemoteHost_getUdpPort_Results) String() string
func (IpRemoteHost_getUdpPort_Results) ToPtr ¶
func (s IpRemoteHost_getUdpPort_Results) ToPtr() capnp.Ptr
type IpRemoteHost_getUdpPort_Results_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 (p IpRemoteHost_getUdpPort_Results_Future) Port() UdpPort
func (IpRemoteHost_getUdpPort_Results_Future) Struct ¶
func (f IpRemoteHost_getUdpPort_Results_Future) Struct() (IpRemoteHost_getUdpPort_Results, error)
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.
type PersistentIpInterface ¶
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 ¶
func (c PersistentIpInterface) AddRef() PersistentIpInterface
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) AddRequirements ¶
func (c PersistentIpInterface) AddRequirements(ctx context.Context, params func(supervisor.SystemPersistent_addRequirements_Params) error) (supervisor.SystemPersistent_addRequirements_Results_Future, capnp.ReleaseFunc)
func (PersistentIpInterface) DecodeFromPtr ¶
func (PersistentIpInterface) DecodeFromPtr(p capnp.Ptr) PersistentIpInterface
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 ¶
func (c PersistentIpInterface) IsSame(other PersistentIpInterface) 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 (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 (c PersistentIpInterface) ListenTcp(ctx context.Context, params func(IpInterface_listenTcp_Params) error) (IpInterface_listenTcp_Results_Future, capnp.ReleaseFunc)
func (PersistentIpInterface) ListenUdp ¶
func (c PersistentIpInterface) ListenUdp(ctx context.Context, params func(IpInterface_listenUdp_Params) error) (IpInterface_listenUdp_Results_Future, capnp.ReleaseFunc)
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) Save ¶
func (c PersistentIpInterface) Save(ctx context.Context, params func(persistent.Persistent_SaveParams) error) (persistent.Persistent_SaveResults_Future, capnp.ReleaseFunc)
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.
type PersistentIpInterface_Server ¶
type PersistentIpInterface_Server interface { ListenTcp(context.Context, IpInterface_listenTcp) error ListenUdp(context.Context, IpInterface_listenUdp) error AddRequirements(context.Context, supervisor.SystemPersistent_addRequirements) error Save(context.Context, persistent.Persistent_save) error }
type PersistentIpNetwork ¶
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 ¶
func (c PersistentIpNetwork) AddRef() PersistentIpNetwork
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) AddRequirements ¶
func (c PersistentIpNetwork) AddRequirements(ctx context.Context, params func(supervisor.SystemPersistent_addRequirements_Params) error) (supervisor.SystemPersistent_addRequirements_Results_Future, capnp.ReleaseFunc)
func (PersistentIpNetwork) DecodeFromPtr ¶
func (PersistentIpNetwork) DecodeFromPtr(p capnp.Ptr) PersistentIpNetwork
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 (c PersistentIpNetwork) GetRemoteHost(ctx context.Context, params func(IpNetwork_getRemoteHost_Params) error) (IpNetwork_getRemoteHost_Results_Future, capnp.ReleaseFunc)
func (PersistentIpNetwork) GetRemoteHostByName ¶
func (c PersistentIpNetwork) GetRemoteHostByName(ctx context.Context, params func(IpNetwork_getRemoteHostByName_Params) error) (IpNetwork_getRemoteHostByName_Results_Future, capnp.ReleaseFunc)
func (PersistentIpNetwork) IsSame ¶
func (c PersistentIpNetwork) IsSame(other PersistentIpNetwork) 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 (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) Save ¶
func (c PersistentIpNetwork) Save(ctx context.Context, params func(persistent.Persistent_SaveParams) error) (persistent.Persistent_SaveResults_Future, capnp.ReleaseFunc)
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.
type PersistentIpNetwork_Server ¶
type PersistentIpNetwork_Server interface { GetRemoteHost(context.Context, IpNetwork_getRemoteHost) error GetRemoteHostByName(context.Context, IpNetwork_getRemoteHostByName) error AddRequirements(context.Context, supervisor.SystemPersistent_addRequirements) error Save(context.Context, persistent.Persistent_save) error }
type TcpPort ¶
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 ¶
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 (c TcpPort) Connect(ctx context.Context, params func(TcpPort_connect_Params) error) (TcpPort_connect_Results_Future, capnp.ReleaseFunc)
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 ¶
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 ¶
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 ¶
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.
type TcpPort_List ¶
TcpPort_List is a list of TcpPort.
type TcpPort_Server ¶
type TcpPort_Server interface {
Connect(context.Context, TcpPort_connect) error
}
type TcpPort_connect ¶
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 ¶
func (c TcpPort_connect) Args() TcpPort_connect_Params
Args returns the call's arguments.
type TcpPort_connect_Params ¶
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) DecodeFromPtr(p capnp.Ptr) TcpPort_connect_Params
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 ¶
TcpPort_connect_Params_Future is a wrapper for a TcpPort_connect_Params promised by a client call.
func (TcpPort_connect_Params_Future) Downstream ¶
func (p TcpPort_connect_Params_Future) Downstream() util.ByteStream
func (TcpPort_connect_Params_Future) Struct ¶
func (f TcpPort_connect_Params_Future) Struct() (TcpPort_connect_Params, error)
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.
type TcpPort_connect_Results ¶
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) DecodeFromPtr(p capnp.Ptr) TcpPort_connect_Results
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 ¶
func (s TcpPort_connect_Results) Upstream() util.ByteStream
type TcpPort_connect_Results_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 (f TcpPort_connect_Results_Future) Struct() (TcpPort_connect_Results, error)
func (TcpPort_connect_Results_Future) Upstream ¶
func (p TcpPort_connect_Results_Future) Upstream() util.ByteStream
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.
type UdpPort ¶
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 ¶
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) GetFlowLimiter ¶
func (c UdpPort) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (UdpPort) 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 (UdpPort) IsValid ¶
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 ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (UdpPort) Send ¶
func (c UdpPort) Send(ctx context.Context, params func(UdpPort_send_Params) error) (UdpPort_send_Results_Future, capnp.ReleaseFunc)
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.
type UdpPort_List ¶
UdpPort_List is a list of UdpPort.
type UdpPort_Server ¶
type UdpPort_Server interface {
Send(context.Context, UdpPort_send) error
}
type UdpPort_send ¶
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 ¶
func (c UdpPort_send) Args() UdpPort_send_Params
Args returns the call's arguments.
type UdpPort_send_Params ¶
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) DecodeFromPtr(p capnp.Ptr) UdpPort_send_Params
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 ¶
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 ¶
func (f UdpPort_send_Params_Future) Struct() (UdpPort_send_Params, error)
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.
type UdpPort_send_Results ¶
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) DecodeFromPtr(p capnp.Ptr) UdpPort_send_Results
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 ¶
UdpPort_send_Results_Future is a wrapper for a UdpPort_send_Results promised by a client call.
func (UdpPort_send_Results_Future) Struct ¶
func (f UdpPort_send_Results_Future) Struct() (UdpPort_send_Results, error)
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.