iapphostmethodinstance

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IAppHostMethodInstance interface identifier b80f3c42-60e0-4ae0-9007-f52852d3dbed
	AppHostMethodInstanceIID = &dcom.IID{Data1: 0xb80f3c42, Data2: 0x60e0, Data3: 0x4ae0, Data4: []byte{0x90, 0x07, 0xf5, 0x28, 0x52, 0xd3, 0xdb, 0xed}}
	// Syntax UUID
	AppHostMethodInstanceSyntaxUUID = &uuid.UUID{TimeLow: 0xb80f3c42, TimeMid: 0x60e0, TimeHiAndVersion: 0x4ae0, ClockSeqHiAndReserved: 0x90, ClockSeqLow: 0x7, Node: [6]uint8{0xf5, 0x28, 0x52, 0xd3, 0xdb, 0xed}}
	// Syntax ID
	AppHostMethodInstanceSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AppHostMethodInstanceSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/iisa"
)

Functions

func AppHostMethodInstanceServerHandle

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

func NewAppHostMethodInstanceServerHandle

func NewAppHostMethodInstanceServerHandle(o AppHostMethodInstanceServer) dcerpc.ServerHandle

func RegisterAppHostMethodInstanceServer

func RegisterAppHostMethodInstanceServer(conn dcerpc.Conn, o AppHostMethodInstanceServer, opts ...dcerpc.Option)

Types

type AppHostMethodInstanceClient

type AppHostMethodInstanceClient interface {

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

	// Input operation.
	GetInput(context.Context, *GetInputRequest, ...dcerpc.CallOption) (*GetInputResponse, error)

	// Output operation.
	GetOutput(context.Context, *GetOutputRequest, ...dcerpc.CallOption) (*GetOutputResponse, error)

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

	// GetMetadata operation.
	GetMetadata(context.Context, *GetMetadataRequest, ...dcerpc.CallOption) (*GetMetadataResponse, error)

	// SetMetadata operation.
	SetMetadata(context.Context, *SetMetadataRequest, ...dcerpc.CallOption) (*SetMetadataResponse, error)

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

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

IAppHostMethodInstance interface.

func NewAppHostMethodInstanceClient

func NewAppHostMethodInstanceClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (AppHostMethodInstanceClient, error)

type AppHostMethodInstanceServer

type AppHostMethodInstanceServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Input operation.
	GetInput(context.Context, *GetInputRequest) (*GetInputResponse, error)

	// Output operation.
	GetOutput(context.Context, *GetOutputRequest) (*GetOutputResponse, error)

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

	// GetMetadata operation.
	GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)

	// SetMetadata operation.
	SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
}

IAppHostMethodInstance 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"`
}

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"`
	// 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 GetInputRequest

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

GetInputRequest structure represents the Input operation request

func (*GetInputRequest) MarshalNDR

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

func (*GetInputRequest) UnmarshalNDR

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

type GetInputResponse

type GetInputResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That         *dcom.ORPCThat       `idl:"name:That" json:"that"`
	InputElement *iisa.AppHostElement `idl:"name:ppInputElement" json:"input_element"`
	// Return: The Input return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetInputResponse structure represents the Input operation response

func (*GetInputResponse) MarshalNDR

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

func (*GetInputResponse) UnmarshalNDR

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

type GetMetadataRequest

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

GetMetadataRequest structure represents the GetMetadata operation request

func (*GetMetadataRequest) MarshalNDR

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

func (*GetMetadataRequest) UnmarshalNDR

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

type GetMetadataResponse

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

GetMetadataResponse structure represents the GetMetadata operation response

func (*GetMetadataResponse) MarshalNDR

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

func (*GetMetadataResponse) UnmarshalNDR

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

type GetOutputRequest

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

GetOutputRequest structure represents the Output operation request

func (*GetOutputRequest) MarshalNDR

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

func (*GetOutputRequest) UnmarshalNDR

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

type GetOutputResponse

type GetOutputResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That          *dcom.ORPCThat       `idl:"name:That" json:"that"`
	OutputElement *iisa.AppHostElement `idl:"name:ppOutputElement" json:"output_element"`
	// Return: The Output return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetOutputResponse structure represents the Output operation response

func (*GetOutputResponse) MarshalNDR

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

func (*GetOutputResponse) UnmarshalNDR

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

type SetMetadataRequest

type SetMetadataRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This         *dcom.ORPCThis `idl:"name:This" json:"this"`
	MetadataType *oaut.String   `idl:"name:bstrMetadataType" json:"metadata_type"`
	Value        *oaut.Variant  `idl:"name:value" json:"value"`
}

SetMetadataRequest structure represents the SetMetadata operation request

func (*SetMetadataRequest) MarshalNDR

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

func (*SetMetadataRequest) UnmarshalNDR

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

type SetMetadataResponse

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

SetMetadataResponse structure represents the SetMetadata operation response

func (*SetMetadataResponse) MarshalNDR

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

func (*SetMetadataResponse) UnmarshalNDR

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