ifsrmcommittablecollection

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 (
	// IFsrmCommittableCollection interface identifier 96deb3b5-8b91-4a2a-9d93-80a35d8aa847
	CommittableCollectionIID = &dcom.IID{Data1: 0x96deb3b5, Data2: 0x8b91, Data3: 0x4a2a, Data4: []byte{0x9d, 0x93, 0x80, 0xa3, 0x5d, 0x8a, 0xa8, 0x47}}
	// Syntax UUID
	CommittableCollectionSyntaxUUID = &uuid.UUID{TimeLow: 0x96deb3b5, TimeMid: 0x8b91, TimeHiAndVersion: 0x4a2a, ClockSeqHiAndReserved: 0x9d, ClockSeqLow: 0x93, Node: [6]uint8{0x80, 0xa3, 0x5d, 0x8a, 0xa8, 0x47}}
	// Syntax ID
	CommittableCollectionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CommittableCollectionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func CommittableCollectionServerHandle

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

func NewCommittableCollectionServerHandle

func NewCommittableCollectionServerHandle(o CommittableCollectionServer) dcerpc.ServerHandle

func RegisterCommittableCollectionServer

func RegisterCommittableCollectionServer(conn dcerpc.Conn, o CommittableCollectionServer, opts ...dcerpc.Option)

Types

type CommitRequest

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

CommitRequest structure represents the Commit operation request

func (*CommitRequest) MarshalNDR

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

func (*CommitRequest) UnmarshalNDR

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

type CommitResponse

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

CommitResponse structure represents the Commit operation response

func (*CommitResponse) MarshalNDR

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

func (*CommitResponse) UnmarshalNDR

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

type CommittableCollectionClient

type CommittableCollectionClient interface {

	// IFsrmMutableCollection retrieval method.
	MutableCollection() ifsrmmutablecollection.MutableCollectionClient

	// Commit operation.
	Commit(context.Context, *CommitRequest, ...dcerpc.CallOption) (*CommitResponse, error)

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

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

IFsrmCommittableCollection interface.

func NewCommittableCollectionClient

func NewCommittableCollectionClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CommittableCollectionClient, error)

type CommittableCollectionServer

type CommittableCollectionServer interface {

	// IFsrmMutableCollection base class.
	ifsrmmutablecollection.MutableCollectionServer

	// Commit operation.
	Commit(context.Context, *CommitRequest) (*CommitResponse, error)
}

IFsrmCommittableCollection server interface.

Jump to

Keyboard shortcuts

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