ieventsubscription2

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IEventSubscription2 interface identifier 4a6b0e16-2e38-11d1-9965-00c04fbbb345
	EventSubscription2IID = &dcom.IID{Data1: 0x4a6b0e16, Data2: 0x2e38, Data3: 0x11d1, Data4: []byte{0x99, 0x65, 0x00, 0xc0, 0x4f, 0xbb, 0xb3, 0x45}}
	// Syntax UUID
	EventSubscription2SyntaxUUID = &uuid.UUID{TimeLow: 0x4a6b0e16, TimeMid: 0x2e38, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x99, ClockSeqLow: 0x65, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xbb, 0xb3, 0x45}}
	// Syntax ID
	EventSubscription2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: EventSubscription2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/comev"
)

Functions

func EventSubscription2ServerHandle

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

func NewEventSubscription2ServerHandle

func NewEventSubscription2ServerHandle(o EventSubscription2Server) dcerpc.ServerHandle

func RegisterEventSubscription2Server

func RegisterEventSubscription2Server(conn dcerpc.Conn, o EventSubscription2Server, opts ...dcerpc.Option)

Types

type EventSubscription2Client

type EventSubscription2Client interface {

	// IEventSubscription retrieval method.
	EventSubscription() ieventsubscription.EventSubscriptionClient

	// FilterCriteria operation.
	GetFilterCriteria(context.Context, *GetFilterCriteriaRequest, ...dcerpc.CallOption) (*GetFilterCriteriaResponse, error)

	// FilterCriteria operation.
	SetFilterCriteria(context.Context, *SetFilterCriteriaRequest, ...dcerpc.CallOption) (*SetFilterCriteriaResponse, error)

	// SubscriberMoniker operation.
	GetSubscriberMoniker(context.Context, *GetSubscriberMonikerRequest, ...dcerpc.CallOption) (*GetSubscriberMonikerResponse, error)

	// SubscriberMoniker operation.
	SetSubscriberMoniker(context.Context, *SetSubscriberMonikerRequest, ...dcerpc.CallOption) (*SetSubscriberMonikerResponse, error)

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

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

IEventSubscription2 interface.

func NewEventSubscription2Client

func NewEventSubscription2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (EventSubscription2Client, error)

type EventSubscription2Server

type EventSubscription2Server interface {

	// IEventSubscription base class.
	ieventsubscription.EventSubscriptionServer

	// FilterCriteria operation.
	GetFilterCriteria(context.Context, *GetFilterCriteriaRequest) (*GetFilterCriteriaResponse, error)

	// FilterCriteria operation.
	SetFilterCriteria(context.Context, *SetFilterCriteriaRequest) (*SetFilterCriteriaResponse, error)

	// SubscriberMoniker operation.
	GetSubscriberMoniker(context.Context, *GetSubscriberMonikerRequest) (*GetSubscriberMonikerResponse, error)

	// SubscriberMoniker operation.
	SetSubscriberMoniker(context.Context, *SetSubscriberMonikerRequest) (*SetSubscriberMonikerResponse, error)
}

IEventSubscription2 server interface.

type GetFilterCriteriaRequest

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

GetFilterCriteriaRequest structure represents the FilterCriteria operation request

func (*GetFilterCriteriaRequest) MarshalNDR

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

func (*GetFilterCriteriaRequest) UnmarshalNDR

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

type GetFilterCriteriaResponse

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

GetFilterCriteriaResponse structure represents the FilterCriteria operation response

func (*GetFilterCriteriaResponse) MarshalNDR

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

func (*GetFilterCriteriaResponse) UnmarshalNDR

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

type GetSubscriberMonikerRequest

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

GetSubscriberMonikerRequest structure represents the SubscriberMoniker operation request

func (*GetSubscriberMonikerRequest) MarshalNDR

func (*GetSubscriberMonikerRequest) UnmarshalNDR

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

type GetSubscriberMonikerResponse

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

GetSubscriberMonikerResponse structure represents the SubscriberMoniker operation response

func (*GetSubscriberMonikerResponse) MarshalNDR

func (*GetSubscriberMonikerResponse) UnmarshalNDR

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

type SetFilterCriteriaRequest

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

SetFilterCriteriaRequest structure represents the FilterCriteria operation request

func (*SetFilterCriteriaRequest) MarshalNDR

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

func (*SetFilterCriteriaRequest) UnmarshalNDR

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

type SetFilterCriteriaResponse

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

SetFilterCriteriaResponse structure represents the FilterCriteria operation response

func (*SetFilterCriteriaResponse) MarshalNDR

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

func (*SetFilterCriteriaResponse) UnmarshalNDR

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

type SetSubscriberMonikerRequest

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

SetSubscriberMonikerRequest structure represents the SubscriberMoniker operation request

func (*SetSubscriberMonikerRequest) MarshalNDR

func (*SetSubscriberMonikerRequest) UnmarshalNDR

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

type SetSubscriberMonikerResponse

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

SetSubscriberMonikerResponse structure represents the SubscriberMoniker operation response

func (*SetSubscriberMonikerResponse) MarshalNDR

func (*SetSubscriberMonikerResponse) UnmarshalNDR

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