idatafactory3

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 (
	// IDataFactory3 interface identifier 4639db2a-bfc5-11d2-9318-00c04fbbbfb3
	DataFactory3IID = &dcom.IID{Data1: 0x4639db2a, Data2: 0xbfc5, Data3: 0x11d2, Data4: []byte{0x93, 0x18, 0x00, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3}}
	// Syntax UUID
	DataFactory3SyntaxUUID = &uuid.UUID{TimeLow: 0x4639db2a, TimeMid: 0xbfc5, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0x93, ClockSeqLow: 0x18, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3}}
	// Syntax ID
	DataFactory3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: DataFactory3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/adtg"
)

Functions

func DataFactory3ServerHandle

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

func NewDataFactory3ServerHandle

func NewDataFactory3ServerHandle(o DataFactory3Server) dcerpc.ServerHandle

func RegisterDataFactory3Server

func RegisterDataFactory3Server(conn dcerpc.Conn, o DataFactory3Server, opts ...dcerpc.Option)

Types

type DataFactory3Client

type DataFactory3Client interface {

	// IDataFactory2 retrieval method.
	DataFactory2() idatafactory2.DataFactory2Client

	// Execute operation.
	Execute(context.Context, *ExecuteRequest, ...dcerpc.CallOption) (*ExecuteResponse, error)

	// Synchronize operation.
	Synchronize(context.Context, *SynchronizeRequest, ...dcerpc.CallOption) (*SynchronizeResponse, error)

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

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

IDataFactory3 interface.

func NewDataFactory3Client

func NewDataFactory3Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (DataFactory3Client, error)

type DataFactory3Server

type DataFactory3Server interface {

	// IDataFactory2 base class.
	idatafactory2.DataFactory2Server

	// Execute operation.
	Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)

	// Synchronize operation.
	Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
}

IDataFactory3 server interface.

type ExecuteRequest

type ExecuteRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This             *dcom.ORPCThis `idl:"name:This" json:"this"`
	ConnectionString *oaut.String   `idl:"name:ConnectionString" json:"connection_string"`
	HandlerString    *oaut.String   `idl:"name:HandlerString" json:"handler_string"`
	QueryString      *oaut.String   `idl:"name:QueryString" json:"query_string"`
	MarshalOptions   int32          `idl:"name:lMarshalOptions" json:"marshal_options"`
	Properties       *oaut.Variant  `idl:"name:Properties" json:"properties"`
	TableID          *oaut.Variant  `idl:"name:TableId" json:"table_id"`
	ExecuteOptions   int32          `idl:"name:lExecuteOptions" json:"execute_options"`
	Parameters       *oaut.Variant  `idl:"name:pParameters" json:"parameters"`
	LocaleID         int32          `idl:"name:lcid" json:"locale_id"`
	Information      *oaut.Variant  `idl:"name:pInformation" json:"information"`
}

ExecuteRequest structure represents the Execute operation request

func (*ExecuteRequest) MarshalNDR

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

func (*ExecuteRequest) UnmarshalNDR

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

type ExecuteResponse

type ExecuteResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That        *dcom.ORPCThat `idl:"name:That" json:"that"`
	Parameters  *oaut.Variant  `idl:"name:pParameters" json:"parameters"`
	Information *oaut.Variant  `idl:"name:pInformation" json:"information"`
	RecordSet   *oaut.Dispatch `idl:"name:ppRecordset" json:"record_set"`
	// Return: The Execute return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ExecuteResponse structure represents the Execute operation response

func (*ExecuteResponse) MarshalNDR

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

func (*ExecuteResponse) UnmarshalNDR

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

type SynchronizeRequest

type SynchronizeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This               *dcom.ORPCThis `idl:"name:This" json:"this"`
	ConnectionString   *oaut.String   `idl:"name:ConnectionString" json:"connection_string"`
	HandlerString      *oaut.String   `idl:"name:HandlerString" json:"handler_string"`
	SynchronizeOptions int32          `idl:"name:lSynchronizeOptions" json:"synchronize_options"`
	RecordSet          *oaut.Dispatch `idl:"name:ppRecordset" json:"record_set"`
	StatusArray        *oaut.Variant  `idl:"name:pStatusArray" json:"status_array"`
	LocaleID           int32          `idl:"name:lcid" json:"locale_id"`
	Information        *oaut.Variant  `idl:"name:pInformation" json:"information"`
}

SynchronizeRequest structure represents the Synchronize operation request

func (*SynchronizeRequest) MarshalNDR

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

func (*SynchronizeRequest) UnmarshalNDR

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

type SynchronizeResponse

type SynchronizeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That        *dcom.ORPCThat `idl:"name:That" json:"that"`
	RecordSet   *oaut.Dispatch `idl:"name:ppRecordset" json:"record_set"`
	StatusArray *oaut.Variant  `idl:"name:pStatusArray" json:"status_array"`
	Information *oaut.Variant  `idl:"name:pInformation" json:"information"`
	Result      *oaut.Variant  `idl:"name:pResult" json:"result"`
	// Return: The Synchronize return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SynchronizeResponse structure represents the Synchronize operation response

func (*SynchronizeResponse) MarshalNDR

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

func (*SynchronizeResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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