ischedule

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 (
	// ISchedule interface identifier 0383753a-098b-11d8-9414-505054503030
	ScheduleIID = &dcom.IID{Data1: 0x0383753a, Data2: 0x098b, Data3: 0x11d8, Data4: []byte{0x94, 0x14, 0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax UUID
	ScheduleSyntaxUUID = &uuid.UUID{TimeLow: 0x383753a, TimeMid: 0x98b, TimeHiAndVersion: 0x11d8, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x14, Node: [6]uint8{0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax ID
	ScheduleSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ScheduleSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/pla"
)

Functions

func NewScheduleServerHandle

func NewScheduleServerHandle(o ScheduleServer) dcerpc.ServerHandle

func RegisterScheduleServer

func RegisterScheduleServer(conn dcerpc.Conn, o ScheduleServer, opts ...dcerpc.Option)

func ScheduleServerHandle

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

Types

type GetDaysRequest

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

GetDaysRequest structure represents the Days operation request

func (*GetDaysRequest) MarshalNDR

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

func (*GetDaysRequest) UnmarshalNDR

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

type GetDaysResponse

type GetDaysResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	Days pla.WeekDays   `idl:"name:days" json:"days"`
	// Return: The Days return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDaysResponse structure represents the Days operation response

func (*GetDaysResponse) MarshalNDR

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

func (*GetDaysResponse) UnmarshalNDR

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

type GetEndDateRequest

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

GetEndDateRequest structure represents the EndDate operation request

func (*GetEndDateRequest) MarshalNDR

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

func (*GetEndDateRequest) UnmarshalNDR

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

type GetEndDateResponse

type GetEndDateResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	End  *oaut.Variant  `idl:"name:end" json:"end"`
	// Return: The EndDate return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetEndDateResponse structure represents the EndDate operation response

func (*GetEndDateResponse) MarshalNDR

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

func (*GetEndDateResponse) UnmarshalNDR

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

type GetStartDateRequest

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

GetStartDateRequest structure represents the StartDate operation request

func (*GetStartDateRequest) MarshalNDR

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

func (*GetStartDateRequest) UnmarshalNDR

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

type GetStartDateResponse

type GetStartDateResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That  *dcom.ORPCThat `idl:"name:That" json:"that"`
	Start *oaut.Variant  `idl:"name:start" json:"start"`
	// Return: The StartDate return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetStartDateResponse structure represents the StartDate operation response

func (*GetStartDateResponse) MarshalNDR

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

func (*GetStartDateResponse) UnmarshalNDR

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

type GetStartTimeRequest

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

GetStartTimeRequest structure represents the StartTime operation request

func (*GetStartTimeRequest) MarshalNDR

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

func (*GetStartTimeRequest) UnmarshalNDR

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

type GetStartTimeResponse

type GetStartTimeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That  *dcom.ORPCThat `idl:"name:That" json:"that"`
	Start *oaut.Variant  `idl:"name:start" json:"start"`
	// Return: The StartTime return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetStartTimeResponse structure represents the StartTime operation response

func (*GetStartTimeResponse) MarshalNDR

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

func (*GetStartTimeResponse) UnmarshalNDR

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

type ScheduleClient

type ScheduleClient interface {

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

	// StartDate operation.
	GetStartDate(context.Context, *GetStartDateRequest, ...dcerpc.CallOption) (*GetStartDateResponse, error)

	// StartDate operation.
	SetStartDate(context.Context, *SetStartDateRequest, ...dcerpc.CallOption) (*SetStartDateResponse, error)

	// EndDate operation.
	GetEndDate(context.Context, *GetEndDateRequest, ...dcerpc.CallOption) (*GetEndDateResponse, error)

	// EndDate operation.
	SetEndDate(context.Context, *SetEndDateRequest, ...dcerpc.CallOption) (*SetEndDateResponse, error)

	// StartTime operation.
	GetStartTime(context.Context, *GetStartTimeRequest, ...dcerpc.CallOption) (*GetStartTimeResponse, error)

	// StartTime operation.
	SetStartTime(context.Context, *SetStartTimeRequest, ...dcerpc.CallOption) (*SetStartTimeResponse, error)

	// Days operation.
	GetDays(context.Context, *GetDaysRequest, ...dcerpc.CallOption) (*GetDaysResponse, error)

	// Days operation.
	SetDays(context.Context, *SetDaysRequest, ...dcerpc.CallOption) (*SetDaysResponse, error)

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

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

ISchedule interface.

func NewScheduleClient

func NewScheduleClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ScheduleClient, error)

type ScheduleServer

type ScheduleServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// StartDate operation.
	GetStartDate(context.Context, *GetStartDateRequest) (*GetStartDateResponse, error)

	// StartDate operation.
	SetStartDate(context.Context, *SetStartDateRequest) (*SetStartDateResponse, error)

	// EndDate operation.
	GetEndDate(context.Context, *GetEndDateRequest) (*GetEndDateResponse, error)

	// EndDate operation.
	SetEndDate(context.Context, *SetEndDateRequest) (*SetEndDateResponse, error)

	// StartTime operation.
	GetStartTime(context.Context, *GetStartTimeRequest) (*GetStartTimeResponse, error)

	// StartTime operation.
	SetStartTime(context.Context, *SetStartTimeRequest) (*SetStartTimeResponse, error)

	// Days operation.
	GetDays(context.Context, *GetDaysRequest) (*GetDaysResponse, error)

	// Days operation.
	SetDays(context.Context, *SetDaysRequest) (*SetDaysResponse, error)
}

ISchedule server interface.

type SetDaysRequest

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

SetDaysRequest structure represents the Days operation request

func (*SetDaysRequest) MarshalNDR

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

func (*SetDaysRequest) UnmarshalNDR

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

type SetDaysResponse

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

SetDaysResponse structure represents the Days operation response

func (*SetDaysResponse) MarshalNDR

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

func (*SetDaysResponse) UnmarshalNDR

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

type SetEndDateRequest

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

SetEndDateRequest structure represents the EndDate operation request

func (*SetEndDateRequest) MarshalNDR

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

func (*SetEndDateRequest) UnmarshalNDR

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

type SetEndDateResponse

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

SetEndDateResponse structure represents the EndDate operation response

func (*SetEndDateResponse) MarshalNDR

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

func (*SetEndDateResponse) UnmarshalNDR

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

type SetStartDateRequest

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

SetStartDateRequest structure represents the StartDate operation request

func (*SetStartDateRequest) MarshalNDR

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

func (*SetStartDateRequest) UnmarshalNDR

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

type SetStartDateResponse

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

SetStartDateResponse structure represents the StartDate operation response

func (*SetStartDateResponse) MarshalNDR

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

func (*SetStartDateResponse) UnmarshalNDR

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

type SetStartTimeRequest

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

SetStartTimeRequest structure represents the StartTime operation request

func (*SetStartTimeRequest) MarshalNDR

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

func (*SetStartTimeRequest) UnmarshalNDR

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

type SetStartTimeResponse

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

SetStartTimeResponse structure represents the StartTime operation response

func (*SetStartTimeResponse) MarshalNDR

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

func (*SetStartTimeResponse) UnmarshalNDR

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