idatafactory

package
v0.1.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 (
	// IDataFactory interface identifier 0eac4842-8763-11cf-a743-00aa00a3f00d
	DataFactoryIID = &dcom.IID{Data1: 0x0eac4842, Data2: 0x8763, Data3: 0x11cf, Data4: []byte{0xa7, 0x43, 0x00, 0xaa, 0x00, 0xa3, 0xf0, 0x0d}}
	// Syntax UUID
	DataFactorySyntaxUUID = &uuid.UUID{TimeLow: 0xeac4842, TimeMid: 0x8763, TimeHiAndVersion: 0x11cf, ClockSeqHiAndReserved: 0xa7, ClockSeqLow: 0x43, Node: [6]uint8{0x0, 0xaa, 0x0, 0xa3, 0xf0, 0xd}}
	// Syntax ID
	DataFactorySyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: DataFactorySyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/adtg"
)

Functions

func DataFactoryServerHandle

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

func NewDataFactoryServerHandle

func NewDataFactoryServerHandle(o DataFactoryServer) dcerpc.ServerHandle

func RegisterDataFactoryServer

func RegisterDataFactoryServer(conn dcerpc.Conn, o DataFactoryServer, opts ...dcerpc.Option)

Types

type ConvertToStringRequest

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

ConvertToStringRequest structure represents the ConvertToString operation request

func (*ConvertToStringRequest) MarshalNDR

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

func (*ConvertToStringRequest) UnmarshalNDR

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

type ConvertToStringResponse

type ConvertToStringResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That   *dcom.ORPCThat `idl:"name:That" json:"that"`
	Inline *oaut.String   `idl:"name:pbstrInline" json:"inline"`
	// Return: The ConvertToString return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ConvertToStringResponse structure represents the ConvertToString operation response

func (*ConvertToStringResponse) MarshalNDR

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

func (*ConvertToStringResponse) UnmarshalNDR

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

type CreateRecordSetRequest

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

CreateRecordSetRequest structure represents the CreateRecordSet operation request

func (*CreateRecordSetRequest) MarshalNDR

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

func (*CreateRecordSetRequest) UnmarshalNDR

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

type CreateRecordSetResponse

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

CreateRecordSetResponse structure represents the CreateRecordSet operation response

func (*CreateRecordSetResponse) MarshalNDR

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

func (*CreateRecordSetResponse) UnmarshalNDR

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

type DataFactoryClient

type DataFactoryClient interface {

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

	// Query operation.
	Query(context.Context, *QueryRequest, ...dcerpc.CallOption) (*QueryResponse, error)

	// SubmitChanges operation.
	SubmitChanges(context.Context, *SubmitChangesRequest, ...dcerpc.CallOption) (*SubmitChangesResponse, error)

	// ConvertToString operation.
	ConvertToString(context.Context, *ConvertToStringRequest, ...dcerpc.CallOption) (*ConvertToStringResponse, error)

	// CreateRecordSet operation.
	CreateRecordSet(context.Context, *CreateRecordSetRequest, ...dcerpc.CallOption) (*CreateRecordSetResponse, error)

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

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

IDataFactory interface.

func NewDataFactoryClient

func NewDataFactoryClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (DataFactoryClient, error)

type DataFactoryServer

type DataFactoryServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Query operation.
	Query(context.Context, *QueryRequest) (*QueryResponse, error)

	// SubmitChanges operation.
	SubmitChanges(context.Context, *SubmitChangesRequest) (*SubmitChangesResponse, error)

	// ConvertToString operation.
	ConvertToString(context.Context, *ConvertToStringRequest) (*ConvertToStringResponse, error)

	// CreateRecordSet operation.
	CreateRecordSet(context.Context, *CreateRecordSetRequest) (*CreateRecordSetResponse, error)
}

IDataFactory server interface.

type QueryRequest

type QueryRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This           *dcom.ORPCThis `idl:"name:This" json:"this"`
	Connection     *oaut.String   `idl:"name:bstrConnection" json:"connection"`
	Query          *oaut.String   `idl:"name:bstrQuery" json:"query"`
	MarshalOptions int32          `idl:"name:lMarshalOptions" json:"marshal_options"`
}

QueryRequest structure represents the Query operation request

func (*QueryRequest) MarshalNDR

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

func (*QueryRequest) UnmarshalNDR

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

type QueryResponse

type QueryResponse 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"`
	// Return: The Query return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QueryResponse structure represents the Query operation response

func (*QueryResponse) MarshalNDR

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

func (*QueryResponse) UnmarshalNDR

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

type SubmitChangesRequest

type SubmitChangesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This       *dcom.ORPCThis `idl:"name:This" json:"this"`
	Connection *oaut.String   `idl:"name:bstrConnection" json:"connection"`
	RecordSet  *oaut.Dispatch `idl:"name:pRecordset" json:"record_set"`
}

SubmitChangesRequest structure represents the SubmitChanges operation request

func (*SubmitChangesRequest) MarshalNDR

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

func (*SubmitChangesRequest) UnmarshalNDR

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

type SubmitChangesResponse

type SubmitChangesResponse 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 SubmitChanges return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SubmitChangesResponse structure represents the SubmitChanges operation response

func (*SubmitChangesResponse) MarshalNDR

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

func (*SubmitChangesResponse) UnmarshalNDR

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