ieventclass

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IEventClass interface identifier fb2b72a0-7a68-11d1-88f9-0080c7d771bf
	EventClassIID = &dcom.IID{Data1: 0xfb2b72a0, Data2: 0x7a68, Data3: 0x11d1, Data4: []byte{0x88, 0xf9, 0x00, 0x80, 0xc7, 0xd7, 0x71, 0xbf}}
	// Syntax UUID
	EventClassSyntaxUUID = &uuid.UUID{TimeLow: 0xfb2b72a0, TimeMid: 0x7a68, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x88, ClockSeqLow: 0xf9, Node: [6]uint8{0x0, 0x80, 0xc7, 0xd7, 0x71, 0xbf}}
	// Syntax ID
	EventClassSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: EventClassSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/comev"
)

Functions

func EventClassServerHandle

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

func NewEventClassServerHandle

func NewEventClassServerHandle(o EventClassServer) dcerpc.ServerHandle

func RegisterEventClassServer

func RegisterEventClassServer(conn dcerpc.Conn, o EventClassServer, opts ...dcerpc.Option)

Types

type EventClassClient

type EventClassClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// EventClassID operation.
	GetEventClassID(context.Context, *GetEventClassIDRequest, ...dcerpc.CallOption) (*GetEventClassIDResponse, error)

	// EventClassID operation.
	SetEventClassID(context.Context, *SetEventClassIDRequest, ...dcerpc.CallOption) (*SetEventClassIDResponse, error)

	// EventClassName operation.
	GetEventClassName(context.Context, *GetEventClassNameRequest, ...dcerpc.CallOption) (*GetEventClassNameResponse, error)

	// EventClassName operation.
	SetEventClassName(context.Context, *SetEventClassNameRequest, ...dcerpc.CallOption) (*SetEventClassNameResponse, error)

	// OwnerSID operation.
	GetOwnerSID(context.Context, *GetOwnerSIDRequest, ...dcerpc.CallOption) (*GetOwnerSIDResponse, error)

	// OwnerSID operation.
	SetOwnerSID(context.Context, *SetOwnerSIDRequest, ...dcerpc.CallOption) (*SetOwnerSIDResponse, error)

	// FiringInterfaceID operation.
	GetFiringInterfaceID(context.Context, *GetFiringInterfaceIDRequest, ...dcerpc.CallOption) (*GetFiringInterfaceIDResponse, error)

	// FiringInterfaceID operation.
	SetFiringInterfaceID(context.Context, *SetFiringInterfaceIDRequest, ...dcerpc.CallOption) (*SetFiringInterfaceIDResponse, error)

	// Description operation.
	GetDescription(context.Context, *GetDescriptionRequest, ...dcerpc.CallOption) (*GetDescriptionResponse, error)

	// Description operation.
	SetDescription(context.Context, *SetDescriptionRequest, ...dcerpc.CallOption) (*SetDescriptionResponse, error)

	// TypeLib operation.
	GetTypeLib(context.Context, *GetTypeLibRequest, ...dcerpc.CallOption) (*GetTypeLibResponse, error)

	// TypeLib operation.
	SetTypeLib(context.Context, *SetTypeLibRequest, ...dcerpc.CallOption) (*SetTypeLibResponse, error)

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

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

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

IEventClass interface.

func NewEventClassClient

func NewEventClassClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (EventClassClient, error)

type EventClassServer

type EventClassServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// EventClassID operation.
	GetEventClassID(context.Context, *GetEventClassIDRequest) (*GetEventClassIDResponse, error)

	// EventClassID operation.
	SetEventClassID(context.Context, *SetEventClassIDRequest) (*SetEventClassIDResponse, error)

	// EventClassName operation.
	GetEventClassName(context.Context, *GetEventClassNameRequest) (*GetEventClassNameResponse, error)

	// EventClassName operation.
	SetEventClassName(context.Context, *SetEventClassNameRequest) (*SetEventClassNameResponse, error)

	// OwnerSID operation.
	GetOwnerSID(context.Context, *GetOwnerSIDRequest) (*GetOwnerSIDResponse, error)

	// OwnerSID operation.
	SetOwnerSID(context.Context, *SetOwnerSIDRequest) (*SetOwnerSIDResponse, error)

	// FiringInterfaceID operation.
	GetFiringInterfaceID(context.Context, *GetFiringInterfaceIDRequest) (*GetFiringInterfaceIDResponse, error)

	// FiringInterfaceID operation.
	SetFiringInterfaceID(context.Context, *SetFiringInterfaceIDRequest) (*SetFiringInterfaceIDResponse, error)

	// Description operation.
	GetDescription(context.Context, *GetDescriptionRequest) (*GetDescriptionResponse, error)

	// Description operation.
	SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error)

	// TypeLib operation.
	GetTypeLib(context.Context, *GetTypeLibRequest) (*GetTypeLibResponse, error)

	// TypeLib operation.
	SetTypeLib(context.Context, *SetTypeLibRequest) (*SetTypeLibResponse, error)
}

IEventClass server interface.

type GetDescriptionRequest

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

GetDescriptionRequest structure represents the Description operation request

func (*GetDescriptionRequest) MarshalNDR

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

func (*GetDescriptionRequest) UnmarshalNDR

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

type GetDescriptionResponse

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

GetDescriptionResponse structure represents the Description operation response

func (*GetDescriptionResponse) MarshalNDR

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

func (*GetDescriptionResponse) UnmarshalNDR

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

type GetEventClassIDRequest

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

GetEventClassIDRequest structure represents the EventClassID operation request

func (*GetEventClassIDRequest) MarshalNDR

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

func (*GetEventClassIDRequest) UnmarshalNDR

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

type GetEventClassIDResponse

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

GetEventClassIDResponse structure represents the EventClassID operation response

func (*GetEventClassIDResponse) MarshalNDR

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

func (*GetEventClassIDResponse) UnmarshalNDR

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

type GetEventClassNameRequest

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

GetEventClassNameRequest structure represents the EventClassName operation request

func (*GetEventClassNameRequest) MarshalNDR

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

func (*GetEventClassNameRequest) UnmarshalNDR

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

type GetEventClassNameResponse

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

GetEventClassNameResponse structure represents the EventClassName operation response

func (*GetEventClassNameResponse) MarshalNDR

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

func (*GetEventClassNameResponse) UnmarshalNDR

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

type GetFiringInterfaceIDRequest

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

GetFiringInterfaceIDRequest structure represents the FiringInterfaceID operation request

func (*GetFiringInterfaceIDRequest) MarshalNDR

func (*GetFiringInterfaceIDRequest) UnmarshalNDR

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

type GetFiringInterfaceIDResponse

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

GetFiringInterfaceIDResponse structure represents the FiringInterfaceID operation response

func (*GetFiringInterfaceIDResponse) MarshalNDR

func (*GetFiringInterfaceIDResponse) UnmarshalNDR

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

type GetOwnerSIDRequest

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

GetOwnerSIDRequest structure represents the OwnerSID operation request

func (*GetOwnerSIDRequest) MarshalNDR

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

func (*GetOwnerSIDRequest) UnmarshalNDR

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

type GetOwnerSIDResponse

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

GetOwnerSIDResponse structure represents the OwnerSID operation response

func (*GetOwnerSIDResponse) MarshalNDR

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

func (*GetOwnerSIDResponse) UnmarshalNDR

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

type GetTypeLibRequest

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

GetTypeLibRequest structure represents the TypeLib operation request

func (*GetTypeLibRequest) MarshalNDR

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

func (*GetTypeLibRequest) UnmarshalNDR

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

type GetTypeLibResponse

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

GetTypeLibResponse structure represents the TypeLib operation response

func (*GetTypeLibResponse) MarshalNDR

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

func (*GetTypeLibResponse) UnmarshalNDR

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

type SetDescriptionRequest

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

SetDescriptionRequest structure represents the Description operation request

func (*SetDescriptionRequest) MarshalNDR

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

func (*SetDescriptionRequest) UnmarshalNDR

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

type SetDescriptionResponse

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

SetDescriptionResponse structure represents the Description operation response

func (*SetDescriptionResponse) MarshalNDR

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

func (*SetDescriptionResponse) UnmarshalNDR

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

type SetEventClassIDRequest

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

SetEventClassIDRequest structure represents the EventClassID operation request

func (*SetEventClassIDRequest) MarshalNDR

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

func (*SetEventClassIDRequest) UnmarshalNDR

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

type SetEventClassIDResponse

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

SetEventClassIDResponse structure represents the EventClassID operation response

func (*SetEventClassIDResponse) MarshalNDR

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

func (*SetEventClassIDResponse) UnmarshalNDR

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

type SetEventClassNameRequest

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

SetEventClassNameRequest structure represents the EventClassName operation request

func (*SetEventClassNameRequest) MarshalNDR

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

func (*SetEventClassNameRequest) UnmarshalNDR

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

type SetEventClassNameResponse

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

SetEventClassNameResponse structure represents the EventClassName operation response

func (*SetEventClassNameResponse) MarshalNDR

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

func (*SetEventClassNameResponse) UnmarshalNDR

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

type SetFiringInterfaceIDRequest

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

SetFiringInterfaceIDRequest structure represents the FiringInterfaceID operation request

func (*SetFiringInterfaceIDRequest) MarshalNDR

func (*SetFiringInterfaceIDRequest) UnmarshalNDR

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

type SetFiringInterfaceIDResponse

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

SetFiringInterfaceIDResponse structure represents the FiringInterfaceID operation response

func (*SetFiringInterfaceIDResponse) MarshalNDR

func (*SetFiringInterfaceIDResponse) UnmarshalNDR

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

type SetOwnerSIDRequest

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

SetOwnerSIDRequest structure represents the OwnerSID operation request

func (*SetOwnerSIDRequest) MarshalNDR

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

func (*SetOwnerSIDRequest) UnmarshalNDR

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

type SetOwnerSIDResponse

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

SetOwnerSIDResponse structure represents the OwnerSID operation response

func (*SetOwnerSIDResponse) MarshalNDR

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

func (*SetOwnerSIDResponse) UnmarshalNDR

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

type SetTypeLibRequest

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

SetTypeLibRequest structure represents the TypeLib operation request

func (*SetTypeLibRequest) MarshalNDR

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

func (*SetTypeLibRequest) UnmarshalNDR

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

type SetTypeLibResponse

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

SetTypeLibResponse structure represents the TypeLib operation response

func (*SetTypeLibResponse) MarshalNDR

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

func (*SetTypeLibResponse) UnmarshalNDR

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

type UnimplementedEventClassServer added in v1.1.5

type UnimplementedEventClassServer struct {
	idispatch.UnimplementedDispatchServer
}

Unimplemented IEventClass

func (UnimplementedEventClassServer) GetDescription added in v1.1.5

func (UnimplementedEventClassServer) GetEventClassID added in v1.1.5

func (UnimplementedEventClassServer) GetEventClassName added in v1.1.5

func (UnimplementedEventClassServer) GetFiringInterfaceID added in v1.1.5

func (UnimplementedEventClassServer) GetOwnerSID added in v1.1.5

func (UnimplementedEventClassServer) GetTypeLib added in v1.1.5

func (UnimplementedEventClassServer) SetDescription added in v1.1.5

func (UnimplementedEventClassServer) SetEventClassID added in v1.1.5

func (UnimplementedEventClassServer) SetEventClassName added in v1.1.5

func (UnimplementedEventClassServer) SetFiringInterfaceID added in v1.1.5

func (UnimplementedEventClassServer) SetOwnerSID added in v1.1.5

func (UnimplementedEventClassServer) SetTypeLib added in v1.1.5

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL