Documentation ¶
Index ¶
- Variables
- func ActionServerHandle(ctx context.Context, o ActionServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewActionServerHandle(o ActionServer) dcerpc.ServerHandle
- func RegisterActionServer(conn dcerpc.Conn, o ActionServer, opts ...dcerpc.Option)
- type ActionClient
- type ActionServer
- type DeleteRequest
- type DeleteResponse
- type GetActionTypeRequest
- type GetActionTypeResponse
- type GetIDRequest
- type GetIDResponse
- type GetRunLimitIntervalRequest
- type GetRunLimitIntervalResponse
- type SetRunLimitIntervalRequest
- type SetRunLimitIntervalResponse
Constants ¶
This section is empty.
Variables ¶
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} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func ActionServerHandle ¶
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 // Conn returns the client connection (unsafe) Conn() dcerpc.Conn // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ActionClient }
IFsrmAction interface.
func NewActionClient ¶
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 (*DeleteRequest) UnmarshalNDR ¶
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 (*DeleteResponse) UnmarshalNDR ¶
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 (*GetActionTypeRequest) UnmarshalNDR ¶
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 (*GetActionTypeResponse) UnmarshalNDR ¶
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 (*GetIDRequest) UnmarshalNDR ¶
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 (*GetIDResponse) UnmarshalNDR ¶
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 (*GetRunLimitIntervalRequest) UnmarshalNDR ¶
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 ¶
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 (*SetRunLimitIntervalRequest) UnmarshalNDR ¶
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