ifsrmaction

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 (
	// IFsrmAction interface identifier 6cd6408a-ae60-463b-9ef1-e117534d69dc
	ActionIID = &dcom.IID{Data1: 0x6cd6408a, Data2: 0xae60, Data3: 0x463b, Data4: []byte{0x9e, 0xf1, 0xe1, 0x17, 0x53, 0x4d, 0x69, 0xdc}}
	// Syntax UUID
	ActionSyntaxUUID = &uuid.UUID{TimeLow: 0x6cd6408a, TimeMid: 0xae60, TimeHiAndVersion: 0x463b, ClockSeqHiAndReserved: 0x9e, ClockSeqLow: 0xf1, Node: [6]uint8{0xe1, 0x17, 0x53, 0x4d, 0x69, 0xdc}}
	// Syntax ID
	ActionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ActionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func ActionServerHandle

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

func NewActionServerHandle

func NewActionServerHandle(o ActionServer) dcerpc.ServerHandle

func RegisterActionServer

func RegisterActionServer(conn dcerpc.Conn, o ActionServer, opts ...dcerpc.Option)

Types

type ActionClient

type ActionClient interface {

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

	// Id operation.
	GetID(context.Context, *GetIDRequest, ...dcerpc.CallOption) (*GetIDResponse, error)

	// The ActionType (get) method returns the read-only action type property of the action.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-----------------------------------+
	//	|         RETURN          |                                   |
	//	|       VALUE/CODE        |            DESCRIPTION            |
	//	|                         |                                   |
	//	+-------------------------+-----------------------------------+
	//	+-------------------------+-----------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actionType parameter is NULL. |
	//	+-------------------------+-----------------------------------+
	GetActionType(context.Context, *GetActionTypeRequest, ...dcerpc.CallOption) (*GetActionTypeResponse, error)

	// RunLimitInterval operation.
	GetRunLimitInterval(context.Context, *GetRunLimitIntervalRequest, ...dcerpc.CallOption) (*GetRunLimitIntervalResponse, error)

	// RunLimitInterval operation.
	SetRunLimitInterval(context.Context, *SetRunLimitIntervalRequest, ...dcerpc.CallOption) (*SetRunLimitIntervalResponse, error)

	// Delete operation.
	Delete(context.Context, *DeleteRequest, ...dcerpc.CallOption) (*DeleteResponse, error)

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

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

IFsrmAction interface.

func NewActionClient

func NewActionClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ActionClient, error)

type ActionServer

type ActionServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// Id operation.
	GetID(context.Context, *GetIDRequest) (*GetIDResponse, error)

	// The ActionType (get) method returns the read-only action type property of the action.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-----------------------------------+
	//	|         RETURN          |                                   |
	//	|       VALUE/CODE        |            DESCRIPTION            |
	//	|                         |                                   |
	//	+-------------------------+-----------------------------------+
	//	+-------------------------+-----------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actionType parameter is NULL. |
	//	+-------------------------+-----------------------------------+
	GetActionType(context.Context, *GetActionTypeRequest) (*GetActionTypeResponse, error)

	// RunLimitInterval operation.
	GetRunLimitInterval(context.Context, *GetRunLimitIntervalRequest) (*GetRunLimitIntervalResponse, error)

	// RunLimitInterval operation.
	SetRunLimitInterval(context.Context, *SetRunLimitIntervalRequest) (*SetRunLimitIntervalResponse, error)

	// Delete operation.
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
}

IFsrmAction server interface.

type DeleteRequest

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

DeleteRequest structure represents the Delete operation request

func (*DeleteRequest) MarshalNDR

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

func (*DeleteRequest) UnmarshalNDR

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

type DeleteResponse

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

DeleteResponse structure represents the Delete operation response

func (*DeleteResponse) MarshalNDR

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

func (*DeleteResponse) UnmarshalNDR

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

type GetActionTypeRequest

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

GetActionTypeRequest structure represents the ActionType operation request

func (*GetActionTypeRequest) MarshalNDR

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

func (*GetActionTypeRequest) UnmarshalNDR

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

type GetActionTypeResponse

type GetActionTypeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// actionType: Pointer to a variable that upon completion contains the action type of
	// the action.
	ActionType fsrm.ActionType `idl:"name:actionType" json:"action_type"`
	// Return: The ActionType return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetActionTypeResponse structure represents the ActionType operation response

func (*GetActionTypeResponse) MarshalNDR

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

func (*GetActionTypeResponse) UnmarshalNDR

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

type GetIDRequest

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

GetIDRequest structure represents the Id operation request

func (*GetIDRequest) MarshalNDR

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

func (*GetIDRequest) UnmarshalNDR

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

type GetIDResponse

type GetIDResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	ID   *fsrm.ObjectID `idl:"name:id" json:"id"`
	// Return: The Id return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetIDResponse structure represents the Id operation response

func (*GetIDResponse) MarshalNDR

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

func (*GetIDResponse) UnmarshalNDR

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

type GetRunLimitIntervalRequest

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

GetRunLimitIntervalRequest structure represents the RunLimitInterval operation request

func (*GetRunLimitIntervalRequest) MarshalNDR

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

func (*GetRunLimitIntervalRequest) UnmarshalNDR

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

type GetRunLimitIntervalResponse

type GetRunLimitIntervalResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That    *dcom.ORPCThat `idl:"name:That" json:"that"`
	Minutes int32          `idl:"name:minutes" json:"minutes"`
	// Return: The RunLimitInterval return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetRunLimitIntervalResponse structure represents the RunLimitInterval operation response

func (*GetRunLimitIntervalResponse) MarshalNDR

func (*GetRunLimitIntervalResponse) UnmarshalNDR

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

type SetRunLimitIntervalRequest

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

SetRunLimitIntervalRequest structure represents the RunLimitInterval operation request

func (*SetRunLimitIntervalRequest) MarshalNDR

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

func (*SetRunLimitIntervalRequest) UnmarshalNDR

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

type SetRunLimitIntervalResponse

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

SetRunLimitIntervalResponse structure represents the RunLimitInterval operation response

func (*SetRunLimitIntervalResponse) MarshalNDR

func (*SetRunLimitIntervalResponse) UnmarshalNDR

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