iapphostmethodcollection

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 (
	// IAppHostMethodCollection interface identifier d6c7cd8f-bb8d-4f96-b591-d3a5f1320269
	AppHostMethodCollectionIID = &dcom.IID{Data1: 0xd6c7cd8f, Data2: 0xbb8d, Data3: 0x4f96, Data4: []byte{0xb5, 0x91, 0xd3, 0xa5, 0xf1, 0x32, 0x02, 0x69}}
	// Syntax UUID
	AppHostMethodCollectionSyntaxUUID = &uuid.UUID{TimeLow: 0xd6c7cd8f, TimeMid: 0xbb8d, TimeHiAndVersion: 0x4f96, ClockSeqHiAndReserved: 0xb5, ClockSeqLow: 0x91, Node: [6]uint8{0xd3, 0xa5, 0xf1, 0x32, 0x2, 0x69}}
	// Syntax ID
	AppHostMethodCollectionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AppHostMethodCollectionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/iisa"
)

Functions

func AppHostMethodCollectionServerHandle

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

func NewAppHostMethodCollectionServerHandle

func NewAppHostMethodCollectionServerHandle(o AppHostMethodCollectionServer) dcerpc.ServerHandle

func RegisterAppHostMethodCollectionServer

func RegisterAppHostMethodCollectionServer(conn dcerpc.Conn, o AppHostMethodCollectionServer, opts ...dcerpc.Option)

Types

type AppHostMethodCollectionClient

type AppHostMethodCollectionClient interface {

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

	// Count operation.
	GetCount(context.Context, *GetCountRequest, ...dcerpc.CallOption) (*GetCountResponse, error)

	// Item operation.
	GetItem(context.Context, *GetItemRequest, ...dcerpc.CallOption) (*GetItemResponse, error)

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

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

IAppHostMethodCollection interface.

func NewAppHostMethodCollectionClient

func NewAppHostMethodCollectionClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (AppHostMethodCollectionClient, error)

type AppHostMethodCollectionServer

type AppHostMethodCollectionServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Count operation.
	GetCount(context.Context, *GetCountRequest) (*GetCountResponse, error)

	// Item operation.
	GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error)
}

IAppHostMethodCollection server interface.

type GetCountRequest

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

GetCountRequest structure represents the Count operation request

func (*GetCountRequest) MarshalNDR

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

func (*GetCountRequest) UnmarshalNDR

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

type GetCountResponse

type GetCountResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That  *dcom.ORPCThat `idl:"name:That" json:"that"`
	Count uint32         `idl:"name:pcCount" json:"count"`
	// Return: The Count return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCountResponse structure represents the Count operation response

func (*GetCountResponse) MarshalNDR

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

func (*GetCountResponse) UnmarshalNDR

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

type GetItemRequest

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

GetItemRequest structure represents the Item operation request

func (*GetItemRequest) MarshalNDR

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

func (*GetItemRequest) UnmarshalNDR

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

type GetItemResponse

type GetItemResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That   *dcom.ORPCThat      `idl:"name:That" json:"that"`
	Method *iisa.AppHostMethod `idl:"name:ppMethod" json:"method"`
	// Return: The Item return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetItemResponse structure represents the Item operation response

func (*GetItemResponse) MarshalNDR

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

func (*GetItemResponse) UnmarshalNDR

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