ivdsvolumeonline

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IVdsVolumeOnline interface identifier 1be2275a-b315-4f70-9e44-879b3a2a53f2
	VolumeOnlineIID = &dcom.IID{Data1: 0x1be2275a, Data2: 0xb315, Data3: 0x4f70, Data4: []byte{0x9e, 0x44, 0x87, 0x9b, 0x3a, 0x2a, 0x53, 0xf2}}
	// Syntax UUID
	VolumeOnlineSyntaxUUID = &uuid.UUID{TimeLow: 0x1be2275a, TimeMid: 0xb315, TimeHiAndVersion: 0x4f70, ClockSeqHiAndReserved: 0x9e, ClockSeqLow: 0x44, Node: [6]uint8{0x87, 0x9b, 0x3a, 0x2a, 0x53, 0xf2}}
	// Syntax ID
	VolumeOnlineSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: VolumeOnlineSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewVolumeOnlineServerHandle

func NewVolumeOnlineServerHandle(o VolumeOnlineServer) dcerpc.ServerHandle

func RegisterVolumeOnlineServer

func RegisterVolumeOnlineServer(conn dcerpc.Conn, o VolumeOnlineServer, opts ...dcerpc.Option)

func VolumeOnlineServerHandle

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

Types

type OnlineRequest

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

OnlineRequest structure represents the Online operation request

func (*OnlineRequest) MarshalNDR

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

func (*OnlineRequest) UnmarshalNDR

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

type OnlineResponse

type OnlineResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The Online return value.
	Return int32 `idl:"name:Return" json:"return"`
}

OnlineResponse structure represents the Online operation response

func (*OnlineResponse) MarshalNDR

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

func (*OnlineResponse) UnmarshalNDR

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

type VolumeOnlineClient

type VolumeOnlineClient interface {

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

	// Online operation.
	Online(context.Context, *OnlineRequest, ...dcerpc.CallOption) (*OnlineResponse, error)

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

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

IVdsVolumeOnline interface.

func NewVolumeOnlineClient

func NewVolumeOnlineClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (VolumeOnlineClient, error)

type VolumeOnlineServer

type VolumeOnlineServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Online operation.
	Online(context.Context, *OnlineRequest) (*OnlineResponse, error)
}

IVdsVolumeOnline server interface.

Jump to

Keyboard shortcuts

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