ivdsservicehba

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IVdsServiceHba interface identifier 0ac13689-3134-47c6-a17c-4669216801be
	ServiceHBAIID = &dcom.IID{Data1: 0x0ac13689, Data2: 0x3134, Data3: 0x47c6, Data4: []byte{0xa1, 0x7c, 0x46, 0x69, 0x21, 0x68, 0x01, 0xbe}}
	// Syntax UUID
	ServiceHBASyntaxUUID = &uuid.UUID{TimeLow: 0xac13689, TimeMid: 0x3134, TimeHiAndVersion: 0x47c6, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0x7c, Node: [6]uint8{0x46, 0x69, 0x21, 0x68, 0x1, 0xbe}}
	// Syntax ID
	ServiceHBASyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceHBASyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewServiceHBAServerHandle

func NewServiceHBAServerHandle(o ServiceHBAServer) dcerpc.ServerHandle

func RegisterServiceHBAServer

func RegisterServiceHBAServer(conn dcerpc.Conn, o ServiceHBAServer, opts ...dcerpc.Option)

func ServiceHBAServerHandle

func ServiceHBAServerHandle(ctx context.Context, o ServiceHBAServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

Types

type QueryHBAPortsRequest

type QueryHBAPortsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

QueryHBAPortsRequest structure represents the QueryHbaPorts operation request

func (*QueryHBAPortsRequest) MarshalNDR

func (o *QueryHBAPortsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*QueryHBAPortsRequest) UnmarshalNDR

func (o *QueryHBAPortsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type QueryHBAPortsResponse

type QueryHBAPortsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppEnum: A pointer to an IEnumVdsObject interface that, if the operation is successfully
	// completed, receives the IEnumVdsObject interface of the object that contains an enumeration
	// of the HBA port objects on the server. Callers MUST release the interface when they
	// are done with it.
	Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"`
	// Return: The QueryHbaPorts return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QueryHBAPortsResponse structure represents the QueryHbaPorts operation response

func (*QueryHBAPortsResponse) MarshalNDR

func (o *QueryHBAPortsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*QueryHBAPortsResponse) UnmarshalNDR

func (o *QueryHBAPortsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServiceHBAClient

type ServiceHBAClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The QueryHbaPorts method returns an IEnumVdsObject enumeration object that contains
	// a list of the HBA ports that are known to VDS on the system.
	//
	// Return Values: The method MUST return zero or a non-error HRESULT (as specified in
	// [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error
	// code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service
	// Remote Protocol, see section 2.2.3.
	QueryHBAPorts(context.Context, *QueryHBAPortsRequest, ...dcerpc.CallOption) (*QueryHBAPortsResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) ServiceHBAClient
}

IVdsServiceHba interface.

func NewServiceHBAClient

func NewServiceHBAClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ServiceHBAClient, error)

type ServiceHBAServer

type ServiceHBAServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The QueryHbaPorts method returns an IEnumVdsObject enumeration object that contains
	// a list of the HBA ports that are known to VDS on the system.
	//
	// Return Values: The method MUST return zero or a non-error HRESULT (as specified in
	// [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error
	// code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service
	// Remote Protocol, see section 2.2.3.
	QueryHBAPorts(context.Context, *QueryHBAPortsRequest) (*QueryHBAPortsResponse, error)
}

IVdsServiceHba server interface.

Jump to

Keyboard shortcuts

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