iapphostmethod

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IAppHostMethod interface identifier 7883ca1c-1112-4447-84c3-52fbeb38069d
	AppHostMethodIID = &dcom.IID{Data1: 0x7883ca1c, Data2: 0x1112, Data3: 0x4447, Data4: []byte{0x84, 0xc3, 0x52, 0xfb, 0xeb, 0x38, 0x06, 0x9d}}
	// Syntax UUID
	AppHostMethodSyntaxUUID = &uuid.UUID{TimeLow: 0x7883ca1c, TimeMid: 0x1112, TimeHiAndVersion: 0x4447, ClockSeqHiAndReserved: 0x84, ClockSeqLow: 0xc3, Node: [6]uint8{0x52, 0xfb, 0xeb, 0x38, 0x6, 0x9d}}
	// Syntax ID
	AppHostMethodSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AppHostMethodSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/iisa"
)

Functions

func AppHostMethodServerHandle

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

func NewAppHostMethodServerHandle

func NewAppHostMethodServerHandle(o AppHostMethodServer) dcerpc.ServerHandle

func RegisterAppHostMethodServer

func RegisterAppHostMethodServer(conn dcerpc.Conn, o AppHostMethodServer, opts ...dcerpc.Option)

Types

type AppHostMethodClient

type AppHostMethodClient interface {

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

	// Name operation.
	GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error)

	// Schema operation.
	GetSchema(context.Context, *GetSchemaRequest, ...dcerpc.CallOption) (*GetSchemaResponse, error)

	// CreateInstance operation.
	CreateInstance(context.Context, *CreateInstanceRequest, ...dcerpc.CallOption) (*CreateInstanceResponse, error)

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

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

IAppHostMethod interface.

func NewAppHostMethodClient

func NewAppHostMethodClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (AppHostMethodClient, error)

type AppHostMethodServer

type AppHostMethodServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Name operation.
	GetName(context.Context, *GetNameRequest) (*GetNameResponse, error)

	// Schema operation.
	GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)

	// CreateInstance operation.
	CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
}

IAppHostMethod server interface.

type CreateInstanceRequest

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

CreateInstanceRequest structure represents the CreateInstance operation request

func (*CreateInstanceRequest) MarshalNDR

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

func (*CreateInstanceRequest) UnmarshalNDR

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

type CreateInstanceResponse

type CreateInstanceResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That           *dcom.ORPCThat              `idl:"name:That" json:"that"`
	MethodInstance *iisa.AppHostMethodInstance `idl:"name:ppMethodInstance" json:"method_instance"`
	// Return: The CreateInstance return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateInstanceResponse structure represents the CreateInstance operation response

func (*CreateInstanceResponse) MarshalNDR

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

func (*CreateInstanceResponse) UnmarshalNDR

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

type GetNameRequest

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

GetNameRequest structure represents the Name operation request

func (*GetNameRequest) MarshalNDR

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

func (*GetNameRequest) UnmarshalNDR

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

type GetNameResponse

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

GetNameResponse structure represents the Name operation response

func (*GetNameResponse) MarshalNDR

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

func (*GetNameResponse) UnmarshalNDR

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

type GetSchemaRequest

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

GetSchemaRequest structure represents the Schema operation request

func (*GetSchemaRequest) MarshalNDR

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

func (*GetSchemaRequest) UnmarshalNDR

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

type GetSchemaResponse

type GetSchemaResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That         *dcom.ORPCThat            `idl:"name:That" json:"that"`
	MethodSchema *iisa.AppHostMethodSchema `idl:"name:ppMethodSchema" json:"method_schema"`
	// Return: The Schema return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSchemaResponse structure represents the Schema operation response

func (*GetSchemaResponse) MarshalNDR

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

func (*GetSchemaResponse) UnmarshalNDR

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