ieventsystem2

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IEventSystem2 interface identifier 99cc098f-a48a-4e9c-8e58-965c0afc19d5
	EventSystem2IID = &dcom.IID{Data1: 0x99cc098f, Data2: 0xa48a, Data3: 0x4e9c, Data4: []byte{0x8e, 0x58, 0x96, 0x5c, 0x0a, 0xfc, 0x19, 0xd5}}
	// Syntax UUID
	EventSystem2SyntaxUUID = &uuid.UUID{TimeLow: 0x99cc098f, TimeMid: 0xa48a, TimeHiAndVersion: 0x4e9c, ClockSeqHiAndReserved: 0x8e, ClockSeqLow: 0x58, Node: [6]uint8{0x96, 0x5c, 0xa, 0xfc, 0x19, 0xd5}}
	// Syntax ID
	EventSystem2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: EventSystem2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/comev"
)

Functions

func EventSystem2ServerHandle

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

func NewEventSystem2ServerHandle

func NewEventSystem2ServerHandle(o EventSystem2Server) dcerpc.ServerHandle

func RegisterEventSystem2Server

func RegisterEventSystem2Server(conn dcerpc.Conn, o EventSystem2Server, opts ...dcerpc.Option)

Types

type EventSystem2Client

type EventSystem2Client interface {

	// IEventSystem retrieval method.
	EventSystem() ieventsystem.EventSystemClient

	// The GetVersion method retrieves the version of the server implementation of the protocol.
	//
	// Return Values: An HRESULT specifying success or failure. All success codes MUST be
	// treated the same, and all failure codes MUST be treated the same.
	GetVersion(context.Context, *GetVersionRequest, ...dcerpc.CallOption) (*GetVersionResponse, error)

	// The VerifyTransientSubscribers method verifies the state of the transient subscribers.
	//
	// This method has no parameters.
	//
	// Return Values: This function MUST return S_OK.
	VerifyTransientSubscribers(context.Context, *VerifyTransientSubscribersRequest, ...dcerpc.CallOption) (*VerifyTransientSubscribersResponse, error)

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

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

IEventSystem2 interface.

func NewEventSystem2Client

func NewEventSystem2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (EventSystem2Client, error)

type EventSystem2Server

type EventSystem2Server interface {

	// IEventSystem base class.
	ieventsystem.EventSystemServer

	// The GetVersion method retrieves the version of the server implementation of the protocol.
	//
	// Return Values: An HRESULT specifying success or failure. All success codes MUST be
	// treated the same, and all failure codes MUST be treated the same.
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)

	// The VerifyTransientSubscribers method verifies the state of the transient subscribers.
	//
	// This method has no parameters.
	//
	// Return Values: This function MUST return S_OK.
	VerifyTransientSubscribers(context.Context, *VerifyTransientSubscribersRequest) (*VerifyTransientSubscribersResponse, error)
}

IEventSystem2 server interface.

type GetVersionRequest

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

GetVersionRequest structure represents the GetVersion operation request

func (*GetVersionRequest) MarshalNDR

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

func (*GetVersionRequest) UnmarshalNDR

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

type GetVersionResponse

type GetVersionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pnVersion: If the function returns a success HRESULT, it MUST contain one of the
	// following:
	//
	//	+------------+----------------------------------------------------------------------------------+
	//	|            |                                                                                  |
	//	|   VALUE    |                                     MEANING                                      |
	//	|            |                                                                                  |
	//	+------------+----------------------------------------------------------------------------------+
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000001 | The server does not support the IEventSubscription3 and IEventClass3 interfaces, |
	//	|            | nor does it support the PartitionID and ApplicationID properties on the          |
	//	|            | subscription (section 3.1.1.2) and event class (section 3.1.1.1) objects.        |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000002 | The server supports the IEventSubscription3 and IEventClass3 interfaces. It      |
	//	|            | also supports the PartitionID and ApplicationID properties on the subscription   |
	//	|            | (section 3.1.1.2) and event class (section 3.1.1.1) objects.                     |
	//	+------------+----------------------------------------------------------------------------------+
	Version int32 `idl:"name:pnVersion" json:"version"`
	// Return: The GetVersion return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetVersionResponse structure represents the GetVersion operation response

func (*GetVersionResponse) MarshalNDR

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

func (*GetVersionResponse) UnmarshalNDR

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

type VerifyTransientSubscribersRequest

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

VerifyTransientSubscribersRequest structure represents the VerifyTransientSubscribers operation request

func (*VerifyTransientSubscribersRequest) MarshalNDR

func (*VerifyTransientSubscribersRequest) UnmarshalNDR

type VerifyTransientSubscribersResponse

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

VerifyTransientSubscribersResponse structure represents the VerifyTransientSubscribers operation response

func (*VerifyTransientSubscribersResponse) MarshalNDR

func (*VerifyTransientSubscribersResponse) UnmarshalNDR

Jump to

Keyboard shortcuts

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