Documentation
¶
Index ¶
Constants ¶
View Source
const ( )
View Source
const ( )
View Source
const ( )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISharedSecret ¶
type ISharedSecret interface {
}
func NewSharedSecretStub ¶
func NewSharedSecretStub( impl ISharedSecretServer, ) ISharedSecret
NewSharedSecretStub creates a server-side ISharedSecret wrapping the given server implementation. The returned value satisfies ISharedSecret and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISharedSecretServer ¶
type ISharedSecretServer interface {
}
ISharedSecretServer is the server-side interface that user implementations provide to NewSharedSecretStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type SharedSecretParameters ¶
type SharedSecretParameters struct {
}
func (*SharedSecretParameters) MarshalParcel ¶
func (s *SharedSecretParameters) MarshalParcel( p *parcel.Parcel, ) error
func (*SharedSecretParameters) UnmarshalParcel ¶
func (s *SharedSecretParameters) UnmarshalParcel( p *parcel.Parcel, ) error
type SharedSecretProxy ¶
type SharedSecretProxy struct {
}
func NewSharedSecretProxy ¶
func NewSharedSecretProxy( remote binder.IBinder, ) *SharedSecretProxy
func (*SharedSecretProxy) AsBinder ¶
func (p *SharedSecretProxy) AsBinder() binder.IBinder
func (*SharedSecretProxy) ComputeSharedSecret ¶
func (p *SharedSecretProxy) ComputeSharedSecret( ctx context.Context, params []SharedSecretParameters, ) ([]byte, error)
func (*SharedSecretProxy) GetSharedSecretParameters ¶
func (p *SharedSecretProxy) GetSharedSecretParameters( ctx context.Context, ) (SharedSecretParameters, error)
type SharedSecretStub ¶
type SharedSecretStub struct {
}
SharedSecretStub dispatches incoming binder transactions to a typed ISharedSecret implementation.
func (*SharedSecretStub) Descriptor ¶
func (s *SharedSecretStub) Descriptor() string
func (*SharedSecretStub) OnTransaction ¶
func (s *SharedSecretStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Click to show internal directories.
Click to hide internal directories.