idatafactory2

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 (
	// IDataFactory2 interface identifier 070669eb-b52f-11d1-9270-00c04fbbbfb3
	DataFactory2IID = &dcom.IID{Data1: 0x070669eb, Data2: 0xb52f, Data3: 0x11d1, Data4: []byte{0x92, 0x70, 0x00, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3}}
	// Syntax UUID
	DataFactory2SyntaxUUID = &uuid.UUID{TimeLow: 0x70669eb, TimeMid: 0xb52f, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x92, ClockSeqLow: 0x70, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3}}
	// Syntax ID
	DataFactory2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: DataFactory2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/adtg"
)

Functions

func DataFactory2ServerHandle

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

func NewDataFactory2ServerHandle

func NewDataFactory2ServerHandle(o DataFactory2Server) dcerpc.ServerHandle

func RegisterDataFactory2Server

func RegisterDataFactory2Server(conn dcerpc.Conn, o DataFactory2Server, opts ...dcerpc.Option)

Types

type DataFactory2Client

type DataFactory2Client interface {

	// IDataFactory retrieval method.
	DataFactory() idatafactory.DataFactoryClient

	// Execute21 operation.
	Execute21(context.Context, *Execute21Request, ...dcerpc.CallOption) (*Execute21Response, error)

	// Synchronize21 operation.
	Synchronize21(context.Context, *Synchronize21Request, ...dcerpc.CallOption) (*Synchronize21Response, error)

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

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

IDataFactory2 interface.

func NewDataFactory2Client

func NewDataFactory2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (DataFactory2Client, error)

type DataFactory2Server

type DataFactory2Server interface {

	// IDataFactory base class.
	idatafactory.DataFactoryServer

	// Execute21 operation.
	Execute21(context.Context, *Execute21Request) (*Execute21Response, error)

	// Synchronize21 operation.
	Synchronize21(context.Context, *Synchronize21Request) (*Synchronize21Response, error)
}

IDataFactory2 server interface.

type Execute21Request

type Execute21Request 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"`
}

Execute21Request structure represents the Execute21 operation request

func (*Execute21Request) MarshalNDR

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

func (*Execute21Request) UnmarshalNDR

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

type Execute21Response

type Execute21Response 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"`
	RecordSet  *oaut.Dispatch `idl:"name:ppRecordset" json:"record_set"`
	// Return: The Execute21 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

Execute21Response structure represents the Execute21 operation response

func (*Execute21Response) MarshalNDR

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

func (*Execute21Response) UnmarshalNDR

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

type Synchronize21Request

type Synchronize21Request 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"`
}

Synchronize21Request structure represents the Synchronize21 operation request

func (*Synchronize21Request) MarshalNDR

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

func (*Synchronize21Request) UnmarshalNDR

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

type Synchronize21Response

type Synchronize21Response 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"`
	Result      *oaut.Variant  `idl:"name:pResult" json:"result"`
	// Return: The Synchronize21 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

Synchronize21Response structure represents the Synchronize21 operation response

func (*Synchronize21Response) MarshalNDR

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

func (*Synchronize21Response) UnmarshalNDR

func (o *Synchronize21Response) 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