Documentation
¶
Index ¶
- type DeviceClient
- func (c *DeviceClient) Close(ctx context.Context) error
- func (c *DeviceClient) ConnectPorts(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
- func (c *DeviceClient) GetInfo(ctx context.Context) (int64, error)
- func (c *DeviceClient) OpenInputPort(ctx context.Context, arg0 int32) (int64, error)
- func (c *DeviceClient) OpenOutputPort(ctx context.Context, arg0 int32) (int64, error)
- func (c *DeviceClient) ToString(ctx context.Context) (string, error)
- type DeviceInfoClient
- func (c *DeviceInfoClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *DeviceInfoClient) GetDefaultProtocol(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) GetId(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) GetInputPortCount(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) GetOutputPortCount(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) GetPorts(ctx context.Context) (int64, error)
- func (c *DeviceInfoClient) GetProperties(ctx context.Context) (int64, error)
- func (c *DeviceInfoClient) GetType(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) HashCode(ctx context.Context) (int32, error)
- func (c *DeviceInfoClient) IsPrivate(ctx context.Context) (bool, error)
- func (c *DeviceInfoClient) ToString(ctx context.Context) (string, error)
- func (c *DeviceInfoClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type DeviceInfoPortInfoClient
- type DeviceMidiConnectionClient
- type DeviceServiceClient
- func (c *DeviceServiceClient) GetDeviceInfo(ctx context.Context) (int64, error)
- func (c *DeviceServiceClient) GetOutputPortReceivers(ctx context.Context) (int64, error)
- func (c *DeviceServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)
- func (c *DeviceServiceClient) OnClose(ctx context.Context) error
- func (c *DeviceServiceClient) OnCreate(ctx context.Context) error
- func (c *DeviceServiceClient) OnDeviceStatusChanged(ctx context.Context, arg0 int64) error
- func (c *DeviceServiceClient) OnGetInputPortReceivers(ctx context.Context) (int64, error)
- type DeviceStatusClient
- func (c *DeviceStatusClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *DeviceStatusClient) GetDeviceInfo(ctx context.Context) (int64, error)
- func (c *DeviceStatusClient) GetOutputPortOpenCount(ctx context.Context, arg0 int32) (int32, error)
- func (c *DeviceStatusClient) IsInputPortOpen(ctx context.Context, arg0 int32) (bool, error)
- func (c *DeviceStatusClient) ToString(ctx context.Context) (string, error)
- func (c *DeviceStatusClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type InputPortClient
- func (c *InputPortClient) Close(ctx context.Context) error
- func (c *InputPortClient) GetPortNumber(ctx context.Context) (int32, error)
- func (c *InputPortClient) OnFlush(ctx context.Context) error
- func (c *InputPortClient) OnSend(ctx context.Context, arg0 int64, arg1 int32, arg2 int32, arg3 int64) error
- type ManagerClient
- func (c *ManagerClient) GetDevices(ctx context.Context) (int64, error)
- func (c *ManagerClient) GetDevicesForTransport(ctx context.Context, arg0 int32) (int64, error)
- func (c *ManagerClient) RegisterDeviceCallback(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *ManagerClient) UnregisterDeviceCallback(ctx context.Context, arg0 int64) error
- type ManagerDeviceCallbackClient
- type ManagerOnDeviceOpenedListenerClient
- type OutputPortClient
- type ReceiverClient
- func (c *ReceiverClient) Flush(ctx context.Context) error
- func (c *ReceiverClient) GetMaxMessageSize(ctx context.Context) (int32, error)
- func (c *ReceiverClient) OnFlush(ctx context.Context) error
- func (c *ReceiverClient) OnSend(ctx context.Context, arg0 int64, arg1 int32, arg2 int32, arg3 int64) error
- func (c *ReceiverClient) Send3(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) error
- func (c *ReceiverClient) Send4_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int32, arg3 int64) error
- type SenderClient
- type UmpDeviceServiceClient
- func (c *UmpDeviceServiceClient) GetDeviceInfo(ctx context.Context) (int64, error)
- func (c *UmpDeviceServiceClient) GetOutputPortReceivers(ctx context.Context) (int64, error)
- func (c *UmpDeviceServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)
- func (c *UmpDeviceServiceClient) OnClose(ctx context.Context) error
- func (c *UmpDeviceServiceClient) OnCreate(ctx context.Context) error
- func (c *UmpDeviceServiceClient) OnDeviceStatusChanged(ctx context.Context, arg0 int64) error
- func (c *UmpDeviceServiceClient) OnGetInputPortReceivers(ctx context.Context) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceClient ¶
type DeviceClient struct {
// contains filtered or unexported fields
}
DeviceClient wraps the gRPC DeviceService client.
func NewDeviceClient ¶
func NewDeviceClient(cc grpc.ClientConnInterface) *DeviceClient
NewDeviceClient creates a new Device client.
func (*DeviceClient) Close ¶
func (c *DeviceClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*DeviceClient) ConnectPorts ¶
ConnectPorts calls the ConnectPorts RPC.
func (*DeviceClient) GetInfo ¶
func (c *DeviceClient) GetInfo(ctx context.Context) (int64, error)
GetInfo calls the GetInfo RPC.
func (*DeviceClient) OpenInputPort ¶
OpenInputPort calls the OpenInputPort RPC.
func (*DeviceClient) OpenOutputPort ¶
OpenOutputPort calls the OpenOutputPort RPC.
type DeviceInfoClient ¶
type DeviceInfoClient struct {
// contains filtered or unexported fields
}
DeviceInfoClient wraps the gRPC DeviceInfoService client.
func NewDeviceInfoClient ¶
func NewDeviceInfoClient(cc grpc.ClientConnInterface) *DeviceInfoClient
NewDeviceInfoClient creates a new DeviceInfo client.
func (*DeviceInfoClient) DescribeContents ¶
func (c *DeviceInfoClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*DeviceInfoClient) GetDefaultProtocol ¶
func (c *DeviceInfoClient) GetDefaultProtocol(ctx context.Context) (int32, error)
GetDefaultProtocol calls the GetDefaultProtocol RPC.
func (*DeviceInfoClient) GetId ¶
func (c *DeviceInfoClient) GetId(ctx context.Context) (int32, error)
GetId calls the GetId RPC.
func (*DeviceInfoClient) GetInputPortCount ¶
func (c *DeviceInfoClient) GetInputPortCount(ctx context.Context) (int32, error)
GetInputPortCount calls the GetInputPortCount RPC.
func (*DeviceInfoClient) GetOutputPortCount ¶
func (c *DeviceInfoClient) GetOutputPortCount(ctx context.Context) (int32, error)
GetOutputPortCount calls the GetOutputPortCount RPC.
func (*DeviceInfoClient) GetPorts ¶
func (c *DeviceInfoClient) GetPorts(ctx context.Context) (int64, error)
GetPorts calls the GetPorts RPC.
func (*DeviceInfoClient) GetProperties ¶
func (c *DeviceInfoClient) GetProperties(ctx context.Context) (int64, error)
GetProperties calls the GetProperties RPC.
func (*DeviceInfoClient) GetType ¶
func (c *DeviceInfoClient) GetType(ctx context.Context) (int32, error)
GetType calls the GetType RPC.
func (*DeviceInfoClient) HashCode ¶
func (c *DeviceInfoClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*DeviceInfoClient) IsPrivate ¶
func (c *DeviceInfoClient) IsPrivate(ctx context.Context) (bool, error)
IsPrivate calls the IsPrivate RPC.
func (*DeviceInfoClient) ToString ¶
func (c *DeviceInfoClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*DeviceInfoClient) WriteToParcel ¶
WriteToParcel calls the WriteToParcel RPC.
type DeviceInfoPortInfoClient ¶
type DeviceInfoPortInfoClient struct {
// contains filtered or unexported fields
}
DeviceInfoPortInfoClient wraps the gRPC DeviceInfoPortInfoService client.
func NewDeviceInfoPortInfoClient ¶
func NewDeviceInfoPortInfoClient(cc grpc.ClientConnInterface) *DeviceInfoPortInfoClient
NewDeviceInfoPortInfoClient creates a new DeviceInfoPortInfo client.
func (*DeviceInfoPortInfoClient) GetName ¶
func (c *DeviceInfoPortInfoClient) GetName(ctx context.Context) (string, error)
GetName calls the GetName RPC.
func (*DeviceInfoPortInfoClient) GetPortNumber ¶
func (c *DeviceInfoPortInfoClient) GetPortNumber(ctx context.Context) (int32, error)
GetPortNumber calls the GetPortNumber RPC.
type DeviceMidiConnectionClient ¶
type DeviceMidiConnectionClient struct {
// contains filtered or unexported fields
}
DeviceMidiConnectionClient wraps the gRPC DeviceMidiConnectionService client.
func NewDeviceMidiConnectionClient ¶
func NewDeviceMidiConnectionClient(cc grpc.ClientConnInterface) *DeviceMidiConnectionClient
NewDeviceMidiConnectionClient creates a new DeviceMidiConnection client.
type DeviceServiceClient ¶
type DeviceServiceClient struct {
// contains filtered or unexported fields
}
DeviceServiceClient wraps the gRPC DeviceServiceService client.
func NewDeviceServiceClient ¶
func NewDeviceServiceClient(cc grpc.ClientConnInterface) *DeviceServiceClient
NewDeviceServiceClient creates a new DeviceService client.
func (*DeviceServiceClient) GetDeviceInfo ¶
func (c *DeviceServiceClient) GetDeviceInfo(ctx context.Context) (int64, error)
GetDeviceInfo calls the GetDeviceInfo RPC.
func (*DeviceServiceClient) GetOutputPortReceivers ¶
func (c *DeviceServiceClient) GetOutputPortReceivers(ctx context.Context) (int64, error)
GetOutputPortReceivers calls the GetOutputPortReceivers RPC.
func (*DeviceServiceClient) OnClose ¶
func (c *DeviceServiceClient) OnClose(ctx context.Context) error
OnClose calls the OnClose RPC.
func (*DeviceServiceClient) OnCreate ¶
func (c *DeviceServiceClient) OnCreate(ctx context.Context) error
OnCreate calls the OnCreate RPC.
func (*DeviceServiceClient) OnDeviceStatusChanged ¶
func (c *DeviceServiceClient) OnDeviceStatusChanged(ctx context.Context, arg0 int64) error
OnDeviceStatusChanged calls the OnDeviceStatusChanged RPC.
func (*DeviceServiceClient) OnGetInputPortReceivers ¶
func (c *DeviceServiceClient) OnGetInputPortReceivers(ctx context.Context) (int64, error)
OnGetInputPortReceivers calls the OnGetInputPortReceivers RPC.
type DeviceStatusClient ¶
type DeviceStatusClient struct {
// contains filtered or unexported fields
}
DeviceStatusClient wraps the gRPC DeviceStatusService client.
func NewDeviceStatusClient ¶
func NewDeviceStatusClient(cc grpc.ClientConnInterface) *DeviceStatusClient
NewDeviceStatusClient creates a new DeviceStatus client.
func (*DeviceStatusClient) DescribeContents ¶
func (c *DeviceStatusClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*DeviceStatusClient) GetDeviceInfo ¶
func (c *DeviceStatusClient) GetDeviceInfo(ctx context.Context) (int64, error)
GetDeviceInfo calls the GetDeviceInfo RPC.
func (*DeviceStatusClient) GetOutputPortOpenCount ¶
GetOutputPortOpenCount calls the GetOutputPortOpenCount RPC.
func (*DeviceStatusClient) IsInputPortOpen ¶
IsInputPortOpen calls the IsInputPortOpen RPC.
func (*DeviceStatusClient) ToString ¶
func (c *DeviceStatusClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*DeviceStatusClient) WriteToParcel ¶
WriteToParcel calls the WriteToParcel RPC.
type InputPortClient ¶
type InputPortClient struct {
// contains filtered or unexported fields
}
InputPortClient wraps the gRPC InputPortService client.
func NewInputPortClient ¶
func NewInputPortClient(cc grpc.ClientConnInterface) *InputPortClient
NewInputPortClient creates a new InputPort client.
func (*InputPortClient) Close ¶
func (c *InputPortClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*InputPortClient) GetPortNumber ¶
func (c *InputPortClient) GetPortNumber(ctx context.Context) (int32, error)
GetPortNumber calls the GetPortNumber RPC.
type ManagerClient ¶
type ManagerClient struct {
// contains filtered or unexported fields
}
ManagerClient wraps the gRPC ManagerService client.
func NewManagerClient ¶
func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient
NewManagerClient creates a new Manager client.
func (*ManagerClient) GetDevices ¶
func (c *ManagerClient) GetDevices(ctx context.Context) (int64, error)
GetDevices calls the GetDevices RPC.
func (*ManagerClient) GetDevicesForTransport ¶
GetDevicesForTransport calls the GetDevicesForTransport RPC.
func (*ManagerClient) RegisterDeviceCallback ¶
func (c *ManagerClient) RegisterDeviceCallback(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
RegisterDeviceCallback calls the RegisterDeviceCallback RPC.
func (*ManagerClient) UnregisterDeviceCallback ¶
func (c *ManagerClient) UnregisterDeviceCallback(ctx context.Context, arg0 int64) error
UnregisterDeviceCallback calls the UnregisterDeviceCallback RPC.
type ManagerDeviceCallbackClient ¶
type ManagerDeviceCallbackClient struct {
// contains filtered or unexported fields
}
ManagerDeviceCallbackClient wraps the gRPC ManagerDeviceCallbackService client.
func NewManagerDeviceCallbackClient ¶
func NewManagerDeviceCallbackClient(cc grpc.ClientConnInterface) *ManagerDeviceCallbackClient
NewManagerDeviceCallbackClient creates a new ManagerDeviceCallback client.
func (*ManagerDeviceCallbackClient) OnDeviceAdded ¶
func (c *ManagerDeviceCallbackClient) OnDeviceAdded(ctx context.Context, arg0 int64) error
OnDeviceAdded calls the OnDeviceAdded RPC.
func (*ManagerDeviceCallbackClient) OnDeviceRemoved ¶
func (c *ManagerDeviceCallbackClient) OnDeviceRemoved(ctx context.Context, arg0 int64) error
OnDeviceRemoved calls the OnDeviceRemoved RPC.
func (*ManagerDeviceCallbackClient) OnDeviceStatusChanged ¶
func (c *ManagerDeviceCallbackClient) OnDeviceStatusChanged(ctx context.Context, arg0 int64) error
OnDeviceStatusChanged calls the OnDeviceStatusChanged RPC.
type ManagerOnDeviceOpenedListenerClient ¶
type ManagerOnDeviceOpenedListenerClient struct {
// contains filtered or unexported fields
}
ManagerOnDeviceOpenedListenerClient wraps the gRPC ManagerOnDeviceOpenedListenerService client.
func NewManagerOnDeviceOpenedListenerClient ¶
func NewManagerOnDeviceOpenedListenerClient(cc grpc.ClientConnInterface) *ManagerOnDeviceOpenedListenerClient
NewManagerOnDeviceOpenedListenerClient creates a new ManagerOnDeviceOpenedListener client.
func (*ManagerOnDeviceOpenedListenerClient) OnDeviceOpened ¶
func (c *ManagerOnDeviceOpenedListenerClient) OnDeviceOpened(ctx context.Context, arg0 int64) error
OnDeviceOpened calls the OnDeviceOpened RPC.
type OutputPortClient ¶
type OutputPortClient struct {
// contains filtered or unexported fields
}
OutputPortClient wraps the gRPC OutputPortService client.
func NewOutputPortClient ¶
func NewOutputPortClient(cc grpc.ClientConnInterface) *OutputPortClient
NewOutputPortClient creates a new OutputPort client.
func (*OutputPortClient) Close ¶
func (c *OutputPortClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*OutputPortClient) GetPortNumber ¶
func (c *OutputPortClient) GetPortNumber(ctx context.Context) (int32, error)
GetPortNumber calls the GetPortNumber RPC.
func (*OutputPortClient) OnConnect ¶
func (c *OutputPortClient) OnConnect(ctx context.Context, arg0 int64) error
OnConnect calls the OnConnect RPC.
func (*OutputPortClient) OnDisconnect ¶
func (c *OutputPortClient) OnDisconnect(ctx context.Context, arg0 int64) error
OnDisconnect calls the OnDisconnect RPC.
type ReceiverClient ¶
type ReceiverClient struct {
// contains filtered or unexported fields
}
ReceiverClient wraps the gRPC ReceiverService client.
func NewReceiverClient ¶
func NewReceiverClient(cc grpc.ClientConnInterface) *ReceiverClient
NewReceiverClient creates a new Receiver client.
func (*ReceiverClient) Flush ¶
func (c *ReceiverClient) Flush(ctx context.Context) error
Flush calls the Flush RPC.
func (*ReceiverClient) GetMaxMessageSize ¶
func (c *ReceiverClient) GetMaxMessageSize(ctx context.Context) (int32, error)
GetMaxMessageSize calls the GetMaxMessageSize RPC.
func (*ReceiverClient) OnFlush ¶
func (c *ReceiverClient) OnFlush(ctx context.Context) error
OnFlush calls the OnFlush RPC.
func (*ReceiverClient) OnSend ¶
func (c *ReceiverClient) OnSend(ctx context.Context, arg0 int64, arg1 int32, arg2 int32, arg3 int64) error
OnSend calls the OnSend RPC.
type SenderClient ¶
type SenderClient struct {
// contains filtered or unexported fields
}
SenderClient wraps the gRPC SenderService client.
func NewSenderClient ¶
func NewSenderClient(cc grpc.ClientConnInterface) *SenderClient
NewSenderClient creates a new Sender client.
func (*SenderClient) Connect ¶
func (c *SenderClient) Connect(ctx context.Context, arg0 int64) error
Connect calls the Connect RPC.
func (*SenderClient) Disconnect ¶
func (c *SenderClient) Disconnect(ctx context.Context, arg0 int64) error
Disconnect calls the Disconnect RPC.
func (*SenderClient) OnConnect ¶
func (c *SenderClient) OnConnect(ctx context.Context, arg0 int64) error
OnConnect calls the OnConnect RPC.
func (*SenderClient) OnDisconnect ¶
func (c *SenderClient) OnDisconnect(ctx context.Context, arg0 int64) error
OnDisconnect calls the OnDisconnect RPC.
type UmpDeviceServiceClient ¶
type UmpDeviceServiceClient struct {
// contains filtered or unexported fields
}
UmpDeviceServiceClient wraps the gRPC UmpDeviceServiceService client.
func NewUmpDeviceServiceClient ¶
func NewUmpDeviceServiceClient(cc grpc.ClientConnInterface) *UmpDeviceServiceClient
NewUmpDeviceServiceClient creates a new UmpDeviceService client.
func (*UmpDeviceServiceClient) GetDeviceInfo ¶
func (c *UmpDeviceServiceClient) GetDeviceInfo(ctx context.Context) (int64, error)
GetDeviceInfo calls the GetDeviceInfo RPC.
func (*UmpDeviceServiceClient) GetOutputPortReceivers ¶
func (c *UmpDeviceServiceClient) GetOutputPortReceivers(ctx context.Context) (int64, error)
GetOutputPortReceivers calls the GetOutputPortReceivers RPC.
func (*UmpDeviceServiceClient) OnClose ¶
func (c *UmpDeviceServiceClient) OnClose(ctx context.Context) error
OnClose calls the OnClose RPC.
func (*UmpDeviceServiceClient) OnCreate ¶
func (c *UmpDeviceServiceClient) OnCreate(ctx context.Context) error
OnCreate calls the OnCreate RPC.
func (*UmpDeviceServiceClient) OnDeviceStatusChanged ¶
func (c *UmpDeviceServiceClient) OnDeviceStatusChanged(ctx context.Context, arg0 int64) error
OnDeviceStatusChanged calls the OnDeviceStatusChanged RPC.
func (*UmpDeviceServiceClient) OnGetInputPortReceivers ¶
func (c *UmpDeviceServiceClient) OnGetInputPortReceivers(ctx context.Context) (int64, error)
OnGetInputPortReceivers calls the OnGetInputPortReceivers RPC.